pub trait ISortieEntrustUnitDataHolderMethods: ISortieEntrustUnitDataHolder {
// Provided methods
fn ctor(self) { ... }
fn register_unit(self, unit: impl Into<Unit>) { ... }
fn add(self, unit: impl Into<Unit>, unit_item: impl Into<UnitItem>) { ... }
fn get_data(self) -> List_1<SortieEntrustUnitData> { ... }
fn get_count(self) -> i32 { ... }
}Provided Methods§
Sourcefn register_unit(self, unit: impl Into<Unit>)
fn register_unit(self, unit: impl Into<Unit>)
RegisterUnit(crate::app::unit::Unit) overload
Sourcefn add(self, unit: impl Into<Unit>, unit_item: impl Into<UnitItem>)
fn add(self, unit: impl Into<Unit>, unit_item: impl Into<UnitItem>)
Add(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload
Sourcefn get_data(self) -> List_1<SortieEntrustUnitData>
fn get_data(self) -> List_1<SortieEntrustUnitData>
get_Data() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: ISortieEntrustUnitDataHolder> ISortieEntrustUnitDataHolderMethods for __T
Available on crate feature
app-sortieentrustunitdataholder only.