pub trait IRefreshUnitSelectMenuItemMethods: IRefreshUnitSelectMenuItem {
Show 13 methods
// Provided methods
fn get_m_unit(self) -> Unit { ... }
fn set_m_unit(self, value: impl Into<Unit>) { ... }
fn ctor(
self,
unit: impl Into<Unit>,
initial_selected: impl Into<bool>,
decided: impl Into<bool>,
select_event_handler: impl Into<RefreshUnitSelectMenu_SelectEventHandler>,
decide_event_handler: impl Into<RefreshUnitSelectMenu_DecideEventHandler>,
) { ... }
fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
fn on_build(self) { ... }
fn on_build_menu_item_content(self) { ... }
fn set_initial_color(self) { ... }
fn update_fixed_cursor(self) { ... }
fn set_decided(self, decided: impl Into<bool>) { ... }
fn on_select(self) { ... }
fn on_deselect(self) { ... }
fn on_cursor_move_end(self) { ... }
fn a_call(self) -> BasicMenu_Result { ... }
}Provided Methods§
Sourcefn get_m_unit(self) -> Unit
fn get_m_unit(self) -> Unit
get_m_Unit() overload
Sourcefn set_m_unit(self, value: impl Into<Unit>)
fn set_m_unit(self, value: impl Into<Unit>)
set_m_Unit(crate::app::unit::Unit) overload
Sourcefn ctor(
self,
unit: impl Into<Unit>,
initial_selected: impl Into<bool>,
decided: impl Into<bool>,
select_event_handler: impl Into<RefreshUnitSelectMenu_SelectEventHandler>,
decide_event_handler: impl Into<RefreshUnitSelectMenu_DecideEventHandler>,
)
fn ctor( self, unit: impl Into<Unit>, initial_selected: impl Into<bool>, decided: impl Into<bool>, select_event_handler: impl Into<RefreshUnitSelectMenu_SelectEventHandler>, decide_event_handler: impl Into<RefreshUnitSelectMenu_DecideEventHandler>, )
.ctor(crate::app::unit::Unit, bool, bool, crate::app::refreshunitselectmenu::RefreshUnitSelectMenu_SelectEventHandler, crate::app::refreshunitselectmenu::RefreshUnitSelectMenu_DecideEventHandler) overload
Sourcefn build_attribute(self) -> BasicMenuItem_Attribute
fn build_attribute(self) -> BasicMenuItem_Attribute
BuildAttribute() overload
OnBuildMenuItemContent() overload
Sourcefn set_initial_color(self)
fn set_initial_color(self)
SetInitialColor() overload
Sourcefn update_fixed_cursor(self)
fn update_fixed_cursor(self)
UpdateFixedCursor() overload
Sourcefn set_decided(self, decided: impl Into<bool>)
fn set_decided(self, decided: impl Into<bool>)
SetDecided(bool) overload
Sourcefn on_deselect(self)
fn on_deselect(self)
OnDeselect() overload
Sourcefn on_cursor_move_end(self)
fn on_cursor_move_end(self)
OnCursorMoveEnd() overload
Sourcefn a_call(self) -> BasicMenu_Result
fn a_call(self) -> BasicMenu_Result
ACall() 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: IRefreshUnitSelectMenuItem> IRefreshUnitSelectMenuItemMethods for __T
Available on crate feature
app-refreshunitselectmenuitem only.