Skip to main content

ISortieEntrustStockDataMethods

Trait ISortieEntrustStockDataMethods 

Source
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§

Source

fn ctor(self, unit_item: impl Into<UnitItem>, count: impl Into<i32>)

.ctor(crate::app::unititem::UnitItem, i32) overload

Source

fn assigned(self)

Assigned() overload

Source

fn add_stock(self, count: impl Into<i32>)

AddStock(i32) overload

Source

fn get_unit_item(self) -> UnitItem

get_UnitItem() overload

Source

fn get_item_data(self) -> ItemData

get_ItemData() overload

Source

fn get_stock_count(self) -> i32

get_StockCount() overload

Source

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§

Source§

impl<__T: ISortieEntrustStockData> ISortieEntrustStockDataMethods for __T

Available on crate feature app-sortieentruststockdata only.