Skip to main content

IArenaBondUnitSelectMenuItemMethods

Trait IArenaBondUnitSelectMenuItemMethods 

Source
pub trait IArenaBondUnitSelectMenuItemMethods: IArenaBondUnitSelectMenuItem {
    // Provided methods
    fn get_unit(self) -> Unit { ... }
    fn set_unit(self, value: impl Into<Unit>) { ... }
    fn get_is_selectable(self) -> bool { ... }
    fn ctor(
        self,
        unit: impl Into<Unit>,
        decide_event_handler: impl Into<ArenaBondUnitSelectMenu_DecideEventHandler>,
        select_event_handler: impl Into<ArenaBondUnitSelectMenu_SelectEventHandler>,
    ) { ... }
    fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
    fn a_call(self) -> BasicMenu_Result { ... }
    fn b_call(self) -> BasicMenu_Result { ... }
    fn on_select(self) { ... }
}

Provided Methods§

Source

fn get_unit(self) -> Unit

get_Unit() overload

Source

fn set_unit(self, value: impl Into<Unit>)

set_Unit(crate::app::unit::Unit) overload

Source

fn get_is_selectable(self) -> bool

get_IsSelectable() overload

Source

fn ctor( self, unit: impl Into<Unit>, decide_event_handler: impl Into<ArenaBondUnitSelectMenu_DecideEventHandler>, select_event_handler: impl Into<ArenaBondUnitSelectMenu_SelectEventHandler>, )

.ctor(crate::app::unit::Unit, crate::app::arenabondunitselectmenu::ArenaBondUnitSelectMenu_DecideEventHandler, crate::app::arenabondunitselectmenu::ArenaBondUnitSelectMenu_SelectEventHandler) overload

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() overload

Source

fn b_call(self) -> BasicMenu_Result

BCall() overload

Source

fn on_select(self)

OnSelect() 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: IArenaBondUnitSelectMenuItem> IArenaBondUnitSelectMenuItemMethods for __T

Available on crate feature app-arenabondunitselectmenuitem only.