pub trait IDiscardItemMenuContentMethods: IDiscardItemMenuContent {
// Provided methods
fn build_menu_item_content(self) { ... }
fn start(self) { ... }
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn set_kind(self, kind: impl Into<ItemData_Kinds>) { ... }
fn set_to_prev_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds { ... }
fn set_to_next_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds { ... }
fn is_first_kind(self, kind: impl Into<ItemData_Kinds>) -> bool { ... }
fn is_last_kind(self, kind: impl Into<ItemData_Kinds>) -> bool { ... }
fn get_kind_count(self) -> i32 { ... }
fn ctor(self) { ... }
}Provided Methods§
BuildMenuItemContent() 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 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_to_prev_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds
fn set_to_prev_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds
SetToPrevKind(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn set_to_next_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds
fn set_to_next_kind(self, kind: impl Into<ItemData_Kinds>) -> ItemData_Kinds
SetToNextKind(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn is_first_kind(self, kind: impl Into<ItemData_Kinds>) -> bool
fn is_first_kind(self, kind: impl Into<ItemData_Kinds>) -> bool
IsFirstKind(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn is_last_kind(self, kind: impl Into<ItemData_Kinds>) -> bool
fn is_last_kind(self, kind: impl Into<ItemData_Kinds>) -> bool
IsLastKind(crate::app::itemdata::ItemData_Kinds) overload
Sourcefn get_kind_count(self) -> i32
fn get_kind_count(self) -> i32
GetKindCount() 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: IDiscardItemMenuContent> IDiscardItemMenuContentMethods for __T
Available on crate feature
app-discarditemmenucontent only.