pub trait IBasicMenuItemMethods: IBasicMenuItem {
Show 49 methods
// Provided methods
fn ctor(self) { ... }
fn get_menu(self) -> BasicMenu { ... }
fn get_menu_item_content(self) -> BasicMenuItemContent { ... }
fn get_index(self) -> i32 { ... }
fn get_full_index(self) -> i32 { ... }
fn get_attribute(self) -> BasicMenuItem_Attribute { ... }
fn is_select(self) -> bool { ... }
fn is_attribute_enable(self) -> bool { ... }
fn is_attribute_disable(self) -> bool { ... }
fn is_attribute_hide(self) -> bool { ... }
fn is_attribute_blank(self) -> bool { ... }
fn is_attribute_select(self) -> bool { ... }
fn get_name(self) -> Il2CppString { ... }
fn get_width(self) -> f32 { ... }
fn get_height(self) -> f32 { ... }
fn set_cursor_color(self, color: impl Into<Color>) { ... }
fn set_text_color(
self,
color: impl Into<Color>,
b_inactive: impl Into<bool>,
) { ... }
fn set_text_color_2(
self,
active_color: impl Into<Color>,
inactive_color: impl Into<Color>,
) { ... }
fn set_command_color(
self,
color: impl Into<Color>,
b_inactive: impl Into<bool>,
) { ... }
fn get_cursor_color(self) -> Color { ... }
fn get_active_text_color(self) -> Color { ... }
fn get_inactive_text_color(self) -> Color { ... }
fn update_command_color_as_active(self) { ... }
fn force_rebuild_layout(self) { ... }
fn set_menu(self, menu: impl Into<BasicMenu>) { ... }
fn set_menu_item_content(
self,
menu_item_content: impl Into<BasicMenuItemContent>,
) { ... }
fn set_name(self, name: impl Into<Il2CppString>) { ... }
fn set_item_index(self, item_index: impl Into<i32>) { ... }
fn set_full_index(self, item_index: impl Into<i32>) { ... }
fn set_attribute(self, attribute: impl Into<BasicMenuItem_Attribute>) { ... }
fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
fn tick(self) { ... }
fn on_build(self) { ... }
fn on_build_menu_item_content(self) { ... }
fn on_select(self) { ... }
fn on_deselect(self) { ... }
fn on_cursor_move_end(self) { ... }
fn on_close(self) { ... }
fn system_call(self) -> BasicMenu_Result { ... }
fn key_call(self) -> BasicMenu_Result { ... }
fn a_call(self) -> BasicMenu_Result { ... }
fn b_call(self) -> BasicMenu_Result { ... }
fn x_call(self) -> BasicMenu_Result { ... }
fn y_call(self) -> BasicMenu_Result { ... }
fn l_call(self) -> BasicMenu_Result { ... }
fn r_call(self) -> BasicMenu_Result { ... }
fn plus_call(self) -> BasicMenu_Result { ... }
fn minus_call(self) -> BasicMenu_Result { ... }
fn custom_call(self) -> BasicMenu_Result { ... }
}Provided Methods§
GetMenu() overload
GetMenuItemContent() overload
Sourcefn get_full_index(self) -> i32
fn get_full_index(self) -> i32
GetFullIndex() overload
Sourcefn get_attribute(self) -> BasicMenuItem_Attribute
fn get_attribute(self) -> BasicMenuItem_Attribute
GetAttribute() overload
Sourcefn is_attribute_enable(self) -> bool
fn is_attribute_enable(self) -> bool
IsAttributeEnable() overload
Sourcefn is_attribute_disable(self) -> bool
fn is_attribute_disable(self) -> bool
IsAttributeDisable() overload
Sourcefn is_attribute_hide(self) -> bool
fn is_attribute_hide(self) -> bool
IsAttributeHide() overload
Sourcefn is_attribute_blank(self) -> bool
fn is_attribute_blank(self) -> bool
IsAttributeBlank() overload
Sourcefn is_attribute_select(self) -> bool
fn is_attribute_select(self) -> bool
IsAttributeSelect() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn get_height(self) -> f32
fn get_height(self) -> f32
GetHeight() overload
Sourcefn set_cursor_color(self, color: impl Into<Color>)
fn set_cursor_color(self, color: impl Into<Color>)
SetCursorColor(crate::unity_engine::color::Color) overload
Sourcefn set_text_color(self, color: impl Into<Color>, b_inactive: impl Into<bool>)
fn set_text_color(self, color: impl Into<Color>, b_inactive: impl Into<bool>)
SetTextColor(crate::unity_engine::color::Color, bool) overload
Sourcefn set_text_color_2(
self,
active_color: impl Into<Color>,
inactive_color: impl Into<Color>,
)
fn set_text_color_2( self, active_color: impl Into<Color>, inactive_color: impl Into<Color>, )
SetTextColor(crate::unity_engine::color::Color, crate::unity_engine::color::Color) overload
Sourcefn set_command_color(self, color: impl Into<Color>, b_inactive: impl Into<bool>)
fn set_command_color(self, color: impl Into<Color>, b_inactive: impl Into<bool>)
SetCommandColor(crate::unity_engine::color::Color, bool) overload
Sourcefn get_cursor_color(self) -> Color
fn get_cursor_color(self) -> Color
GetCursorColor() overload
Sourcefn get_active_text_color(self) -> Color
fn get_active_text_color(self) -> Color
GetActiveTextColor() overload
Sourcefn get_inactive_text_color(self) -> Color
fn get_inactive_text_color(self) -> Color
GetInactiveTextColor() overload
Sourcefn update_command_color_as_active(self)
fn update_command_color_as_active(self)
UpdateCommandColorAsActive() overload
Sourcefn force_rebuild_layout(self)
fn force_rebuild_layout(self)
ForceRebuildLayout() overload
SetMenu(crate::app::basicmenu::BasicMenu) overload
SetMenuItemContent(crate::app::basicmenuitemcontent::BasicMenuItemContent) overload
Sourcefn set_name(self, name: impl Into<Il2CppString>)
fn set_name(self, name: impl Into<Il2CppString>)
SetName(::unity::Il2CppString) overload
Sourcefn set_item_index(self, item_index: impl Into<i32>)
fn set_item_index(self, item_index: impl Into<i32>)
SetItemIndex(i32) overload
Sourcefn set_full_index(self, item_index: impl Into<i32>)
fn set_full_index(self, item_index: impl Into<i32>)
SetFullIndex(i32) overload
Sourcefn set_attribute(self, attribute: impl Into<BasicMenuItem_Attribute>)
fn set_attribute(self, attribute: impl Into<BasicMenuItem_Attribute>)
SetAttribute(crate::app::basicmenuitem::BasicMenuItem_Attribute) overload
Sourcefn build_attribute(self) -> BasicMenuItem_Attribute
fn build_attribute(self) -> BasicMenuItem_Attribute
BuildAttribute() overload
OnBuildMenuItemContent() 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 system_call(self) -> BasicMenu_Result
fn system_call(self) -> BasicMenu_Result
SystemCall() overload
Sourcefn key_call(self) -> BasicMenu_Result
fn key_call(self) -> BasicMenu_Result
KeyCall() overload
Sourcefn a_call(self) -> BasicMenu_Result
fn a_call(self) -> BasicMenu_Result
ACall() overload
Sourcefn b_call(self) -> BasicMenu_Result
fn b_call(self) -> BasicMenu_Result
BCall() overload
Sourcefn x_call(self) -> BasicMenu_Result
fn x_call(self) -> BasicMenu_Result
XCall() overload
Sourcefn y_call(self) -> BasicMenu_Result
fn y_call(self) -> BasicMenu_Result
YCall() overload
Sourcefn l_call(self) -> BasicMenu_Result
fn l_call(self) -> BasicMenu_Result
LCall() overload
Sourcefn r_call(self) -> BasicMenu_Result
fn r_call(self) -> BasicMenu_Result
RCall() overload
Sourcefn plus_call(self) -> BasicMenu_Result
fn plus_call(self) -> BasicMenu_Result
PlusCall() overload
Sourcefn minus_call(self) -> BasicMenu_Result
fn minus_call(self) -> BasicMenu_Result
MinusCall() overload
Sourcefn custom_call(self) -> BasicMenu_Result
fn custom_call(self) -> BasicMenu_Result
CustomCall() 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: IBasicMenuItem> IBasicMenuItemMethods for __T
app-basicmenuitem only.