Skip to main content

IDishAllMenuContent_DishHistoryMethods

Trait IDishAllMenuContent_DishHistoryMethods 

Source
pub trait IDishAllMenuContent_DishHistoryMethods: IDishAllMenuContent_DishHistory {
    // Provided methods
    fn ctor(
        self,
        game_object: impl Into<GameObject>,
        food_name: impl Into<TextMeshProUGUI>,
        difficulty_icon: impl Into<GameObject>,
        food_difficulty: impl Into<TextMeshProUGUI>,
        enhance_object_list: impl Into<List_1<DishAllMenuContent_EnhanceObject>>,
    ) { ... }
    fn show(self, food: impl Into<FoodData>) { ... }
    fn hide(self) { ... }
    fn set_food_info(self, food: impl Into<FoodData>) { ... }
    fn get_enhance_type(
        self,
        index: impl Into<i32>,
    ) -> CapabilityDefinition_Type { ... }
}

Provided Methods§

Source

fn ctor( self, game_object: impl Into<GameObject>, food_name: impl Into<TextMeshProUGUI>, difficulty_icon: impl Into<GameObject>, food_difficulty: impl Into<TextMeshProUGUI>, enhance_object_list: impl Into<List_1<DishAllMenuContent_EnhanceObject>>, )

.ctor(crate::unity_engine::gameobject::GameObject, crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::unity_engine::gameobject::GameObject, crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::system::collections::generic::list_1::List_1<crate::app::cooking_menu::dishallmenucontent::DishAllMenuContent_EnhanceObject>) overload

Source

fn show(self, food: impl Into<FoodData>)

Show(crate::app::fooddata::FoodData) overload

Source

fn hide(self)

Hide() overload

Source

fn set_food_info(self, food: impl Into<FoodData>)

SetFoodInfo(crate::app::fooddata::FoodData) overload

Source

fn get_enhance_type(self, index: impl Into<i32>) -> CapabilityDefinition_Type

GetEnhanceType(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§

Source§

impl<__T: IDishAllMenuContent_DishHistory> IDishAllMenuContent_DishHistoryMethods for __T

Available on crate feature app-cooking_menu-dishallmenucontent only.