Skip to main content

IAccessoryShopUnitSelectRootMethods

Trait IAccessoryShopUnitSelectRootMethods 

Source
pub trait IAccessoryShopUnitSelectRootMethods: IAccessoryShopUnitSelectRoot {
    // Provided methods
    fn create(
        self,
        super_: impl Into<ProcInst>,
        default_unit: impl Into<Unit>,
        default_scroll_index: impl Into<i32>,
        decide_event_handler: impl Into<ShopUnitSelectMenu_DecideEventHandler>,
    ) { ... }
    fn ctor(self) { ... }
    fn on_select_menu_item(self, unit: impl Into<Unit>) { ... }
    fn on_decide_menu_item(
        self,
        result: impl Into<BasicMenu_Result>,
        unit: impl Into<Unit>,
        scroll_index: impl Into<i32>,
    ) { ... }
    fn close(self) { ... }
}

Provided Methods§

Source

fn create( self, super_: impl Into<ProcInst>, default_unit: impl Into<Unit>, default_scroll_index: impl Into<i32>, decide_event_handler: impl Into<ShopUnitSelectMenu_DecideEventHandler>, )

Create(crate::app::procinst::ProcInst, crate::app::unit::Unit, i32, crate::app::shopunitselectmenu::ShopUnitSelectMenu_DecideEventHandler) overload

Source

fn ctor(self)

.ctor() overload

Source

fn on_select_menu_item(self, unit: impl Into<Unit>)

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

Source

fn on_decide_menu_item( self, result: impl Into<BasicMenu_Result>, unit: impl Into<Unit>, scroll_index: impl Into<i32>, )

OnDecideMenuItem(crate::app::basicmenu::BasicMenu_Result, crate::app::unit::Unit, i32) overload

Source

fn close(self)

Close() 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: IAccessoryShopUnitSelectRoot> IAccessoryShopUnitSelectRootMethods for __T

Available on crate feature app-accessoryshopunitselectroot only.