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§
Sourcefn ctor(
self,
menu_item_list: impl Into<List_1<BasicMenuItem>>,
close_event_handler: impl Into<UnitSelectRingMenu_CloseEventHandler>,
)
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
Sourcefn entrust_ring(self)
fn entrust_ring(self)
EntrustRing() overload
Sourcefn take_off_all_rings(self)
fn take_off_all_rings(self)
TakeOffAllRings() overload
Sourcefn take_off_ring(self, unit: impl Into<Unit>)
fn take_off_ring(self, unit: impl Into<Unit>)
TakeOffRing(crate::app::unit::Unit) overload
Sourcefn is_exist_to_be_anabled_to_take_off_rings(self) -> bool
fn is_exist_to_be_anabled_to_take_off_rings(self) -> bool
IsExistToBeAnabledToTakeOffRings() overload
Sourcefn is_equipped_ring(self, unit: impl Into<Unit>) -> bool
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§
impl<__T: IUnitSelectRingMenu> IUnitSelectRingMenuMethods for __T
Available on crate feature
app-unitselectringmenu only.