Skip to main content

IInventoryPoolItemMenuContentMethods

Trait IInventoryPoolItemMenuContentMethods 

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

Source

fn start(self)

Start() overload

Source

fn get_menu_item_content_max(self) -> i32

GetMenuItemContentMax() overload

Source

fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32

CalcCursorMovedPosY(i32) overload

Source

fn get_kind_num(self) -> i32

GetKindNum() overload

Source

fn get_first_kind(self) -> ItemData_Kinds

GetFirstKind() overload

Source

fn get_last_kind(self) -> ItemData_Kinds

GetLastKind() overload

Source

fn get_next_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds

GetNextKind(crate::app::itemdata::ItemData_Kinds) overload

Source

fn get_prev_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds

GetPrevKind(crate::app::itemdata::ItemData_Kinds) overload

Source

fn get_kind_index(self, kind: impl Into<ItemData_Kinds>) -> i32

GetKindIndex(crate::app::itemdata::ItemData_Kinds) overload

Source

fn set_kind(self, kind: impl Into<ItemData_Kinds>)

SetKind(crate::app::itemdata::ItemData_Kinds) overload

Source

fn set_stock_value(self, value: impl Into<i32>)

SetStockValue(i32) overload

Source

fn set_stock_value_max(self, value: impl Into<i32>)

SetStockValueMax(i32) overload

Source

fn ctor(self)

.ctor() 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: IInventoryPoolItemMenuContent> IInventoryPoolItemMenuContentMethods for __T

Available on crate feature app-inventorypoolitemmenucontent only.