pub trait ISortieEntrustStockDataMethods: ISortieEntrustStockData {
// Provided methods
fn ctor(self, unit_item: impl Into<UnitItem>, count: impl Into<i32>) { ... }
fn assigned(self) { ... }
fn add_stock(self, count: impl Into<i32>) { ... }
fn get_unit_item(self) -> UnitItem { ... }
fn get_item_data(self) -> ItemData { ... }
fn get_stock_count(self) -> i32 { ... }
fn get_assigned_count(self) -> i32 { ... }
}Provided Methods§
Sourcefn ctor(self, unit_item: impl Into<UnitItem>, count: impl Into<i32>)
fn ctor(self, unit_item: impl Into<UnitItem>, count: impl Into<i32>)
.ctor(crate::app::unititem::UnitItem, i32) overload
Sourcefn get_unit_item(self) -> UnitItem
fn get_unit_item(self) -> UnitItem
get_UnitItem() overload
Sourcefn get_item_data(self) -> ItemData
fn get_item_data(self) -> ItemData
get_ItemData() overload
Sourcefn get_stock_count(self) -> i32
fn get_stock_count(self) -> i32
get_StockCount() overload
Sourcefn get_assigned_count(self) -> i32
fn get_assigned_count(self) -> i32
get_AssignedCount() 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: ISortieEntrustStockData> ISortieEntrustStockDataMethods for __T
Available on crate feature
app-sortieentruststockdata only.