pub trait IFoodstuffMenuContentMethods: IFoodstuffMenuContent {
Show 18 methods
// Provided methods
fn awake(self) { ... }
fn set_messages(self) { ... }
fn init_obj_reference(self) { ... }
fn get_menu_item_content_max(self) -> i32 { ... }
fn build_menu_item_content(self) { ... }
fn after_build(self) { ... }
fn set_foodstuff_num(self) { ... }
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn set_cursor_enable(
self,
is_foodstuff: impl Into<bool>,
is_decide: impl Into<bool>,
attribute: impl Into<BasicMenuItem_Attribute>,
) { ... }
fn change_cursor_color(self, is_enable: impl Into<bool>) { ... }
fn update_num(self) { ... }
fn set_normal_num(self, num: impl Into<i32>) { ... }
fn set_rare_num(self, num: impl Into<i32>) { ... }
fn get_selected_normal_count(self) -> i32 { ... }
fn get_selected_rare_count(self) -> i32 { ... }
fn put_cursor_in_front(self, cursor_index: impl Into<i32>) { ... }
fn put_cursor_in_back(self, cursor_index: impl Into<i32>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn set_messages(self)
fn set_messages(self)
SetMessages() overload
Sourcefn init_obj_reference(self)
fn init_obj_reference(self)
InitObjReference() overload
GetMenuItemContentMax() overload
BuildMenuItemContent() overload
Sourcefn after_build(self)
fn after_build(self)
AfterBuild() overload
Sourcefn set_foodstuff_num(self)
fn set_foodstuff_num(self)
SetFoodstuffNum() 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_cursor_enable(
self,
is_foodstuff: impl Into<bool>,
is_decide: impl Into<bool>,
attribute: impl Into<BasicMenuItem_Attribute>,
)
fn set_cursor_enable( self, is_foodstuff: impl Into<bool>, is_decide: impl Into<bool>, attribute: impl Into<BasicMenuItem_Attribute>, )
SetCursorEnable(bool, bool, crate::app::basicmenuitem::BasicMenuItem_Attribute) overload
Sourcefn change_cursor_color(self, is_enable: impl Into<bool>)
fn change_cursor_color(self, is_enable: impl Into<bool>)
ChangeCursorColor(bool) overload
Sourcefn update_num(self)
fn update_num(self)
UpdateNum() overload
Sourcefn set_normal_num(self, num: impl Into<i32>)
fn set_normal_num(self, num: impl Into<i32>)
SetNormalNum(i32) overload
Sourcefn set_rare_num(self, num: impl Into<i32>)
fn set_rare_num(self, num: impl Into<i32>)
SetRareNum(i32) overload
Sourcefn get_selected_normal_count(self) -> i32
fn get_selected_normal_count(self) -> i32
GetSelectedNormalCount() overload
Sourcefn get_selected_rare_count(self) -> i32
fn get_selected_rare_count(self) -> i32
GetSelectedRareCount() overload
Sourcefn put_cursor_in_front(self, cursor_index: impl Into<i32>)
fn put_cursor_in_front(self, cursor_index: impl Into<i32>)
PutCursorInFront(i32) overload
Sourcefn put_cursor_in_back(self, cursor_index: impl Into<i32>)
fn put_cursor_in_back(self, cursor_index: impl Into<i32>)
PutCursorInBack(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: IFoodstuffMenuContent> IFoodstuffMenuContentMethods for __T
Available on crate feature
app-cooking_menu-foodstuffmenucontent only.