Skip to main content

IWellItemSelectMenuItemMethods

Trait IWellItemSelectMenuItemMethods 

Source
pub trait IWellItemSelectMenuItemMethods: IWellItemSelectMenuItem {
Show 23 methods // Provided methods fn is_marking(self) -> bool { ... } fn ctor( self, unit: impl Into<Unit>, owner_item_index: impl Into<i32>, sort_index: impl Into<i32>, ) { ... } fn a_call(self) -> BasicMenu_Result { ... } fn exchange(self) { ... } fn create_dialog(self) { ... } fn try_put_off(self) { ... } fn b_call(self) -> BasicMenu_Result { ... } fn plus_call(self) -> BasicMenu_Result { ... } fn custom_call(self) -> BasicMenu_Result { ... } fn on_build(self) { ... } fn on_build_menu_item_content(self) { ... } fn on_select(self) { ... } fn get_unit(self) -> Unit { ... } fn get_unit_item(self) -> UnitItem { ... } fn get_sort_index(self) -> i32 { ... } fn on_cursor_move_end(self) { ... } fn set_marking(self, is_marking: impl Into<bool>) { ... } fn set_marking_cursor(self, is_marking: impl Into<bool>) { ... } fn hold_selection(self) { ... } fn build_attribute(self) -> BasicMenuItem_Attribute { ... } fn set_text_color( self, active_color: impl Into<Color>, inactive_color: impl Into<Color>, ) { ... } fn update_text_color(self, is_active: impl Into<bool>) { ... } fn set_initial_color(self) { ... }
}

Provided Methods§

Source

fn is_marking(self) -> bool

IsMarking() overload

Source

fn ctor( self, unit: impl Into<Unit>, owner_item_index: impl Into<i32>, sort_index: impl Into<i32>, )

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

Source

fn a_call(self) -> BasicMenu_Result

ACall() overload

Source

fn exchange(self)

Exchange() overload

Source

fn create_dialog(self)

CreateDialog() overload

Source

fn try_put_off(self)

TryPutOff() overload

Source

fn b_call(self) -> BasicMenu_Result

BCall() overload

Source

fn plus_call(self) -> BasicMenu_Result

PlusCall() overload

Source

fn custom_call(self) -> BasicMenu_Result

CustomCall() overload

Source

fn on_build(self)

OnBuild() overload

Source

fn on_build_menu_item_content(self)

OnBuildMenuItemContent() overload

Source

fn on_select(self)

OnSelect() overload

Source

fn get_unit(self) -> Unit

GetUnit() overload

Source

fn get_unit_item(self) -> UnitItem

GetUnitItem() overload

Source

fn get_sort_index(self) -> i32

GetSortIndex() overload

Source

fn on_cursor_move_end(self)

OnCursorMoveEnd() overload

Source

fn set_marking(self, is_marking: impl Into<bool>)

SetMarking(bool) overload

Source

fn set_marking_cursor(self, is_marking: impl Into<bool>)

SetMarkingCursor(bool) overload

Source

fn hold_selection(self)

HoldSelection() overload

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() overload

Source

fn set_text_color( self, active_color: impl Into<Color>, inactive_color: impl Into<Color>, )

SetTextColor(crate::unity_engine::color::Color, crate::unity_engine::color::Color) overload

Source

fn update_text_color(self, is_active: impl Into<bool>)

UpdateTextColor(bool) overload

Source

fn set_initial_color(self)

SetInitialColor() 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: IWellItemSelectMenuItem> IWellItemSelectMenuItemMethods for __T

Available on crate feature app-wellitemselectmenuitem only.