Skip to main content

IRefineGodWeaponSelectManagerMethods

Trait IRefineGodWeaponSelectManagerMethods 

Source
pub trait IRefineGodWeaponSelectManagerMethods: IRefineGodWeaponSelectManager {
    // Provided methods
    fn ctor(
        self,
        super_: impl Into<ProcInst>,
        root: impl Into<RefineGodWeaponRoot>,
        initial_god_unit: impl Into<GodUnit>,
        initial_god_weapon: impl Into<ItemData>,
        initial_scroll_index: impl Into<i32>,
        return_event_handler: impl Into<RefineGodWeaponSelectManager_ReturnEventHandler>,
    ) { ... }
    fn on_select(
        self,
        god_unit: impl Into<GodUnit>,
        unit_item: impl Into<UnitItem>,
    ) { ... }
    fn on_decide(
        self,
        god_unit: impl Into<GodUnit>,
        god_weapon: impl Into<UnitItem>,
    ) { ... }
    fn on_request_close(self) { ... }
}

Provided Methods§

Source

fn ctor( self, super_: impl Into<ProcInst>, root: impl Into<RefineGodWeaponRoot>, initial_god_unit: impl Into<GodUnit>, initial_god_weapon: impl Into<ItemData>, initial_scroll_index: impl Into<i32>, return_event_handler: impl Into<RefineGodWeaponSelectManager_ReturnEventHandler>, )

.ctor(crate::app::procinst::ProcInst, crate::app::refinegodweaponroot::RefineGodWeaponRoot, crate::app::godunit::GodUnit, crate::app::itemdata::ItemData, i32, crate::app::refinegodweaponselectmanager::RefineGodWeaponSelectManager_ReturnEventHandler) overload

Source

fn on_select(self, god_unit: impl Into<GodUnit>, unit_item: impl Into<UnitItem>)

OnSelect(crate::app::godunit::GodUnit, crate::app::unititem::UnitItem) overload

Source

fn on_decide( self, god_unit: impl Into<GodUnit>, god_weapon: impl Into<UnitItem>, )

OnDecide(crate::app::godunit::GodUnit, crate::app::unititem::UnitItem) overload

Source

fn on_request_close(self)

OnRequestClose() 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: IRefineGodWeaponSelectManager> IRefineGodWeaponSelectManagerMethods for __T

Available on crate feature app-refinegodweaponselectmanager only.