Skip to main content

IRefreshUnitSelectMenuItemMethods

Trait IRefreshUnitSelectMenuItemMethods 

Source
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§

Source

fn get_m_unit(self) -> Unit

get_m_Unit() overload

Source

fn set_m_unit(self, value: impl Into<Unit>)

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

Source

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

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() overload

Source

fn on_build(self)

OnBuild() overload

Source

fn on_build_menu_item_content(self)

OnBuildMenuItemContent() overload

Source

fn set_initial_color(self)

SetInitialColor() overload

Source

fn update_fixed_cursor(self)

UpdateFixedCursor() overload

Source

fn set_decided(self, decided: impl Into<bool>)

SetDecided(bool) overload

Source

fn on_select(self)

OnSelect() overload

Source

fn on_deselect(self)

OnDeselect() overload

Source

fn on_cursor_move_end(self)

OnCursorMoveEnd() overload

Source

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§

Source§

impl<__T: IRefreshUnitSelectMenuItem> IRefreshUnitSelectMenuItemMethods for __T

Available on crate feature app-refreshunitselectmenuitem only.