Skip to main content

IDishSelectMenuContentMethods

Trait IDishSelectMenuContentMethods 

Source
pub trait IDishSelectMenuContentMethods: IDishSelectMenuContent {
    // Provided methods
    fn awake(self) { ... }
    fn set_message(self) { ... }
    fn after_build(self) { ... }
    fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
    fn key_left(self, is_trigger: impl Into<bool>) -> bool { ... }
    fn key_right(self, is_trigger: impl Into<bool>) -> bool { ... }
    fn get_food_info(self) -> DishSelectFoodInfoContent { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn awake(self)

Awake() overload

Source

fn set_message(self)

SetMessage() overload

Source

fn after_build(self)

AfterBuild() overload

Source

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

CalcCursorMovedPosY(i32) overload

Source

fn key_left(self, is_trigger: impl Into<bool>) -> bool

KeyLeft(bool) overload

Source

fn key_right(self, is_trigger: impl Into<bool>) -> bool

KeyRight(bool) overload

Source

fn get_food_info(self) -> DishSelectFoodInfoContent

get_FoodInfo() 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: IDishSelectMenuContent> IDishSelectMenuContentMethods for __T

Available on crate feature app-cooking_menu-dishselectmenucontent only.