Skip to main content

ISortieTradeItemMenuItemMethods

Trait ISortieTradeItemMenuItemMethods 

Source
pub trait ISortieTradeItemMenuItemMethods: ISortieTradeItemMenuItem {
Show 17 methods // Provided methods fn ctor( self, unit: impl Into<Unit>, reciever_unit: impl Into<Unit>, index: impl Into<i32>, default_select: impl Into<bool>, selectable_blank: impl Into<bool>, ) { ... } fn build_attribute(self) -> BasicMenuItem_Attribute { ... } fn set_initial_color(self) { ... } fn a_call(self) -> BasicMenu_Result { ... } fn b_call(self) -> BasicMenu_Result { ... } fn on_select(self) { ... } fn on_deselect(self) { ... } fn on_cursor_move_end(self) { ... } fn set_select(self) { ... } fn clear_select(self) { ... } fn get_unit_item(self) -> UnitItem { ... } fn get_reciever_unit(self) -> Unit { ... } fn is_selectable(self) -> bool { ... } fn is_selectable_blank(self) -> bool { ... } fn enable_to_select_blank(self, enabled: impl Into<bool>) { ... } fn set_attribute_disable(self, value: impl Into<bool>) { ... } fn is_null_or_empty(self) -> bool { ... }
}

Provided Methods§

Source

fn ctor( self, unit: impl Into<Unit>, reciever_unit: impl Into<Unit>, index: impl Into<i32>, default_select: impl Into<bool>, selectable_blank: impl Into<bool>, )

.ctor(crate::app::unit::Unit, crate::app::unit::Unit, i32, bool, bool) overload

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() overload

Source

fn set_initial_color(self)

SetInitialColor() overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() overload

Source

fn b_call(self) -> BasicMenu_Result

BCall() 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 set_select(self)

SetSelect() overload

Source

fn clear_select(self)

ClearSelect() overload

Source

fn get_unit_item(self) -> UnitItem

GetUnitItem() overload

Source

fn get_reciever_unit(self) -> Unit

GetRecieverUnit() overload

Source

fn is_selectable(self) -> bool

IsSelectable() overload

Source

fn is_selectable_blank(self) -> bool

IsSelectableBlank() overload

Source

fn enable_to_select_blank(self, enabled: impl Into<bool>)

EnableToSelectBlank(bool) overload

Source

fn set_attribute_disable(self, value: impl Into<bool>)

SetAttributeDisable(bool) overload

Source

fn is_null_or_empty(self) -> bool

IsNullOrEmpty() 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: ISortieTradeItemMenuItem> ISortieTradeItemMenuItemMethods for __T

Available on crate feature app-sortietradeitemmenuitem only.