pub trait IShopUnitSelectRootMethods: IShopUnitSelectRoot {
// Provided methods
fn create(
self,
super_: impl Into<ProcInst>,
default_unit: impl Into<Unit>,
default_scroll_index: impl Into<i32>,
adding_transporter: impl Into<bool>,
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 on_help(self, parent: impl Into<ProcInst>) { ... }
}Provided Methods§
Sourcefn create(
self,
super_: impl Into<ProcInst>,
default_unit: impl Into<Unit>,
default_scroll_index: impl Into<i32>,
adding_transporter: impl Into<bool>,
decide_event_handler: impl Into<ShopUnitSelectMenu_DecideEventHandler>,
)
fn create( self, super_: impl Into<ProcInst>, default_unit: impl Into<Unit>, default_scroll_index: impl Into<i32>, adding_transporter: impl Into<bool>, decide_event_handler: impl Into<ShopUnitSelectMenu_DecideEventHandler>, )
Create(crate::app::procinst::ProcInst, crate::app::unit::Unit, i32, bool, crate::app::shopunitselectmenu::ShopUnitSelectMenu_DecideEventHandler) overload
OnSelectMenuItem(crate::app::unit::Unit) overload
OnDecideMenuItem(crate::app::basicmenu::BasicMenu_Result, crate::app::unit::Unit, i32) 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: IShopUnitSelectRoot> IShopUnitSelectRootMethods for __T
Available on crate feature
app-shopunitselectroot only.