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§
Sourcefn is_marking(self) -> bool
fn is_marking(self) -> bool
IsMarking() overload
Sourcefn ctor(
self,
unit: impl Into<Unit>,
owner_item_index: impl Into<i32>,
sort_index: impl Into<i32>,
)
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
Sourcefn a_call(self) -> BasicMenu_Result
fn a_call(self) -> BasicMenu_Result
ACall() overload
Sourcefn create_dialog(self)
fn create_dialog(self)
CreateDialog() overload
Sourcefn try_put_off(self)
fn try_put_off(self)
TryPutOff() overload
Sourcefn b_call(self) -> BasicMenu_Result
fn b_call(self) -> BasicMenu_Result
BCall() overload
Sourcefn plus_call(self) -> BasicMenu_Result
fn plus_call(self) -> BasicMenu_Result
PlusCall() overload
Sourcefn custom_call(self) -> BasicMenu_Result
fn custom_call(self) -> BasicMenu_Result
CustomCall() overload
OnBuildMenuItemContent() overload
Sourcefn get_unit_item(self) -> UnitItem
fn get_unit_item(self) -> UnitItem
GetUnitItem() overload
Sourcefn get_sort_index(self) -> i32
fn get_sort_index(self) -> i32
GetSortIndex() overload
Sourcefn on_cursor_move_end(self)
fn on_cursor_move_end(self)
OnCursorMoveEnd() overload
Sourcefn set_marking(self, is_marking: impl Into<bool>)
fn set_marking(self, is_marking: impl Into<bool>)
SetMarking(bool) overload
Sourcefn set_marking_cursor(self, is_marking: impl Into<bool>)
fn set_marking_cursor(self, is_marking: impl Into<bool>)
SetMarkingCursor(bool) overload
Sourcefn hold_selection(self)
fn hold_selection(self)
HoldSelection() overload
Sourcefn build_attribute(self) -> BasicMenuItem_Attribute
fn build_attribute(self) -> BasicMenuItem_Attribute
BuildAttribute() overload
Sourcefn set_text_color(
self,
active_color: impl Into<Color>,
inactive_color: impl Into<Color>,
)
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
Sourcefn update_text_color(self, is_active: impl Into<bool>)
fn update_text_color(self, is_active: impl Into<bool>)
UpdateTextColor(bool) overload
Sourcefn set_initial_color(self)
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§
impl<__T: IWellItemSelectMenuItem> IWellItemSelectMenuItemMethods for __T
Available on crate feature
app-wellitemselectmenuitem only.