Skip to main content

IUnitSelectRingMenuMethods

Trait IUnitSelectRingMenuMethods 

Source
pub trait IUnitSelectRingMenuMethods: IUnitSelectRingMenu {
    // Provided methods
    fn ctor(
        self,
        menu_item_list: impl Into<List_1<BasicMenuItem>>,
        close_event_handler: impl Into<UnitSelectRingMenu_CloseEventHandler>,
    ) { ... }
    fn on_close(self) { ... }
    fn entrust_ring(self) { ... }
    fn take_off_all_rings(self) { ... }
    fn take_off_ring(self, unit: impl Into<Unit>) { ... }
    fn is_exist_to_be_anabled_to_take_off_rings(self) -> bool { ... }
    fn is_equipped_ring(self, unit: impl Into<Unit>) -> bool { ... }
}

Provided Methods§

Source

fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, close_event_handler: impl Into<UnitSelectRingMenu_CloseEventHandler>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::unitselectringmenu::UnitSelectRingMenu_CloseEventHandler) overload

Source

fn on_close(self)

OnClose() overload

Source

fn entrust_ring(self)

EntrustRing() overload

Source

fn take_off_all_rings(self)

TakeOffAllRings() overload

Source

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

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

Source

fn is_exist_to_be_anabled_to_take_off_rings(self) -> bool

IsExistToBeAnabledToTakeOffRings() overload

Source

fn is_equipped_ring(self, unit: impl Into<Unit>) -> bool

IsEquippedRing(crate::app::unit::Unit) 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: IUnitSelectRingMenu> IUnitSelectRingMenuMethods for __T

Available on crate feature app-unitselectringmenu only.