pub trait IInventoryPoolItemMenuContentMethods: IInventoryPoolItemMenuContent {
Show 13 methods
// Provided methods
fn start(self) { ... }
fn get_menu_item_content_max(self) -> i32 { ... }
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn get_kind_num(self) -> i32 { ... }
fn get_first_kind(self) -> ItemData_Kinds { ... }
fn get_last_kind(self) -> ItemData_Kinds { ... }
fn get_next_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds { ... }
fn get_prev_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds { ... }
fn get_kind_index(self, kind: impl Into<ItemData_Kinds>) -> i32 { ... }
fn set_kind(self, kind: impl Into<ItemData_Kinds>) { ... }
fn set_stock_value(self, value: impl Into<i32>) { ... }
fn set_stock_value_max(self, value: impl Into<i32>) { ... }
fn ctor(self) { ... }
}Provided Methods§
GetMenuItemContentMax() overload
Sourcefn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32
CalcCursorMovedPosY(i32) overload
Sourcefn get_kind_num(self) -> i32
fn get_kind_num(self) -> i32
GetKindNum() overload
Sourcefn get_first_kind(self) -> ItemData_Kinds
fn get_first_kind(self) -> ItemData_Kinds
GetFirstKind() overload
Sourcefn get_last_kind(self) -> ItemData_Kinds
fn get_last_kind(self) -> ItemData_Kinds
GetLastKind() overload
Sourcefn get_next_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds
fn get_next_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds
GetNextKind(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn get_prev_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds
fn get_prev_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds
GetPrevKind(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn get_kind_index(self, kind: impl Into<ItemData_Kinds>) -> i32
fn get_kind_index(self, kind: impl Into<ItemData_Kinds>) -> i32
GetKindIndex(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn set_kind(self, kind: impl Into<ItemData_Kinds>)
fn set_kind(self, kind: impl Into<ItemData_Kinds>)
SetKind(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn set_stock_value(self, value: impl Into<i32>)
fn set_stock_value(self, value: impl Into<i32>)
SetStockValue(i32) overload
Sourcefn set_stock_value_max(self, value: impl Into<i32>)
fn set_stock_value_max(self, value: impl Into<i32>)
SetStockValueMax(i32) 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: IInventoryPoolItemMenuContent> IInventoryPoolItemMenuContentMethods for __T
Available on crate feature
app-inventorypoolitemmenucontent only.