Skip to main content

IAccessoryShopChangeRootMethods

Trait IAccessoryShopChangeRootMethods 

Source
pub trait IAccessoryShopChangeRootMethods: IAccessoryShopChangeRoot {
    // Provided methods
    fn create(
        self,
        super_: impl Into<ProcInst>,
        unit: impl Into<Unit>,
        return_event_handler: impl Into<AccessoryShopChangeRoot_ReturnEventHandler>,
    ) { ... }
    fn ctor(self) { ... }
    fn on_select_menu_item(self, accessory_data: impl Into<AccessoryData>) { ... }
    fn on_decide_menu_item(self, accessory_data: impl Into<AccessoryData>) { ... }
    fn on_change_unit_to_prev(self, watching: impl Into<bool>) { ... }
    fn on_change_unit_to_next(self, watching: impl Into<bool>) { ... }
    fn on_change_kind(self, accessory_data: impl Into<AccessoryData>) { ... }
    fn on_start_watching(self) -> bool { ... }
    fn on_end_watching(self) { ... }
    fn on_show_ui(self) { ... }
    fn on_hide_ui(self) { ... }
    fn on_request_close_menu(self) { ... }
}

Provided Methods§

Source

fn create( self, super_: impl Into<ProcInst>, unit: impl Into<Unit>, return_event_handler: impl Into<AccessoryShopChangeRoot_ReturnEventHandler>, )

Create(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::accessoryshopchangeroot::AccessoryShopChangeRoot_ReturnEventHandler) overload

Source

fn ctor(self)

.ctor() overload

Source

fn on_select_menu_item(self, accessory_data: impl Into<AccessoryData>)

OnSelectMenuItem(crate::app::accessorydata::AccessoryData) overload

Source

fn on_decide_menu_item(self, accessory_data: impl Into<AccessoryData>)

OnDecideMenuItem(crate::app::accessorydata::AccessoryData) overload

Source

fn on_change_unit_to_prev(self, watching: impl Into<bool>)

OnChangeUnitToPrev(bool) overload

Source

fn on_change_unit_to_next(self, watching: impl Into<bool>)

OnChangeUnitToNext(bool) overload

Source

fn on_change_kind(self, accessory_data: impl Into<AccessoryData>)

OnChangeKind(crate::app::accessorydata::AccessoryData) overload

Source

fn on_start_watching(self) -> bool

OnStartWatching() overload

Source

fn on_end_watching(self)

OnEndWatching() overload

Source

fn on_show_ui(self)

OnShowUI() overload

Source

fn on_hide_ui(self)

OnHideUI() overload

Source

fn on_request_close_menu(self)

OnRequestCloseMenu() 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: IAccessoryShopChangeRoot> IAccessoryShopChangeRootMethods for __T

Available on crate feature app-accessoryshopchangeroot only.