pub trait IUnitSelectMenu_UnitSelectMenuItemMethods: IUnitSelectMenu_UnitSelectMenuItem {
// Provided methods
fn ctor(
self,
unit: impl Into<Unit>,
select_event_handler: impl Into<UnitSelectMenu_UnitSelectMenuItem_SelectEventHandler>,
) { ... }
fn decide(self) -> Unit { ... }
fn cancel(self) { ... }
fn on_select(self) { ... }
fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
fn get_unit(self) -> Unit { ... }
fn is_decided(self) -> bool { ... }
}Provided Methods§
Sourcefn ctor(
self,
unit: impl Into<Unit>,
select_event_handler: impl Into<UnitSelectMenu_UnitSelectMenuItem_SelectEventHandler>,
)
fn ctor( self, unit: impl Into<Unit>, select_event_handler: impl Into<UnitSelectMenu_UnitSelectMenuItem_SelectEventHandler>, )
.ctor(crate::app::unit::Unit, crate::app::cooking_menu::unitselectmenu_2::UnitSelectMenu_UnitSelectMenuItem_SelectEventHandler) overload
Sourcefn build_attribute(self) -> BasicMenuItem_Attribute
fn build_attribute(self) -> BasicMenuItem_Attribute
BuildAttribute() overload
Sourcefn is_decided(self) -> bool
fn is_decided(self) -> bool
IsDecided() 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: IUnitSelectMenu_UnitSelectMenuItem> IUnitSelectMenu_UnitSelectMenuItemMethods for __T
Available on crate feature
app-cooking_menu-unitselectmenu_2 only.