Skip to main content

IUnitSelectMenu_UnitSelectMenuItemMethods

Trait IUnitSelectMenu_UnitSelectMenuItemMethods 

Source
pub trait IUnitSelectMenu_UnitSelectMenuItemMethods: IUnitSelectMenu_UnitSelectMenuItem {
    // Provided methods
    fn ctor(
        self,
        unit: impl Into<Unit>,
        select_event_handler: impl Into<UnitSelectMenu_UnitSelectMenuItem_SelectEventHandler>,
    ) { ... }
    fn decide(self) -> Unit { ... }
    fn cancel(self) { ... }
    fn on_select(self) { ... }
    fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
    fn get_unit(self) -> Unit { ... }
    fn is_decided(self) -> bool { ... }
}

Provided Methods§

Source

fn ctor( self, unit: impl Into<Unit>, select_event_handler: impl Into<UnitSelectMenu_UnitSelectMenuItem_SelectEventHandler>, )

.ctor(crate::app::unit::Unit, crate::app::cooking_menu::unitselectmenu_2::UnitSelectMenu_UnitSelectMenuItem_SelectEventHandler) overload

Source

fn decide(self) -> Unit

Decide() overload

Source

fn cancel(self)

Cancel() overload

Source

fn on_select(self)

OnSelect() overload

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() overload

Source

fn get_unit(self) -> Unit

GetUnit() overload

Source

fn is_decided(self) -> bool

IsDecided() 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: IUnitSelectMenu_UnitSelectMenuItem> IUnitSelectMenu_UnitSelectMenuItemMethods for __T

Available on crate feature app-cooking_menu-unitselectmenu_2 only.