pub trait IMenuItemMethods: IMenuItem {
Show 80 methods
// Provided methods
fn get_name(self) -> Il2CppString { ... }
fn get_name_english(self) -> Il2CppString { ... }
fn get_help(self) -> Il2CppString { ... }
fn get_help_english(self) -> Il2CppString { ... }
fn get_help_width(self) -> f32 { ... }
fn get_help_height(self) -> f32 { ... }
fn get_kind(self) -> MenuItem_Kind { ... }
fn a_call(self) -> MenuItem_Result { ... }
fn b_call(self) -> MenuItem_Result { ... }
fn x_call(self) -> MenuItem_Result { ... }
fn y_call(self) -> MenuItem_Result { ... }
fn l_call(self) -> MenuItem_Result { ... }
fn r_call(self) -> MenuItem_Result { ... }
fn plus_call(self) -> MenuItem_Result { ... }
fn minus_call(self) -> MenuItem_Result { ... }
fn left_call(self) -> MenuItem_Result { ... }
fn right_call(self) -> MenuItem_Result { ... }
fn is_enable(self) -> bool { ... }
fn is_visible(self) -> bool { ... }
fn is_selectable(self) -> bool { ... }
fn get_width(self) -> f32 { ... }
fn get_height(self) -> f32 { ... }
fn get_font_color(self) -> Color { ... }
fn get_back_color(self) -> Color { ... }
fn get_column_count(self) -> i32 { ... }
fn get_column_width(self, i: impl Into<i32>) -> f32 { ... }
fn get_column_width0(self) -> f32 { ... }
fn get_column_width1(self) -> f32 { ... }
fn get_column_width2(self) -> f32 { ... }
fn get_column_width3(self) -> f32 { ... }
fn get_column_width4(self) -> f32 { ... }
fn get_column_height(self, i: impl Into<i32>) -> f32 { ... }
fn get_column_height0(self) -> f32 { ... }
fn get_column_height1(self) -> f32 { ... }
fn get_column_height2(self) -> f32 { ... }
fn get_column_height3(self) -> f32 { ... }
fn get_column_height4(self) -> f32 { ... }
fn get_column_name0(self) -> Il2CppString { ... }
fn get_column_name1(self) -> Il2CppString { ... }
fn get_column_name2(self) -> Il2CppString { ... }
fn get_column_name3(self) -> Il2CppString { ... }
fn get_column_name4(self) -> Il2CppString { ... }
fn get_column_english0(self) -> Il2CppString { ... }
fn get_column_english1(self) -> Il2CppString { ... }
fn get_column_english2(self) -> Il2CppString { ... }
fn get_column_english3(self) -> Il2CppString { ... }
fn get_column_english4(self) -> Il2CppString { ... }
fn get_column_align(self, i: impl Into<i32>) -> MenuItem_Align { ... }
fn get_column_align0(self) -> MenuItem_Align { ... }
fn get_column_align1(self) -> MenuItem_Align { ... }
fn get_column_align2(self) -> MenuItem_Align { ... }
fn get_column_align3(self) -> MenuItem_Align { ... }
fn get_column_align4(self) -> MenuItem_Align { ... }
fn get_column_color(self, i: impl Into<i32>) -> Color { ... }
fn get_column_color0(self) -> Color { ... }
fn get_column_color1(self) -> Color { ... }
fn get_column_color2(self) -> Color { ... }
fn get_column_color3(self) -> Color { ... }
fn get_column_color4(self) -> Color { ... }
fn get_disable_color(self) -> Color { ... }
fn get_margin_width(self) -> f32 { ... }
fn get_margin_height(self) -> f32 { ... }
fn get_key(self, index: impl Into<i32>) -> i32 { ... }
fn get_menu(self) -> DebugMenu { ... }
fn get_text_width(self, i: impl Into<i32>) -> f32 { ... }
fn get_text_height(self, i: impl Into<i32>) -> f32 { ... }
fn set_menu(self, menu: impl Into<DebugMenu>) { ... }
fn get_state(self) -> MenuItem_State { ... }
fn set_state(self, state: impl Into<MenuItem_State>) { ... }
fn get_bind(self) -> i32 { ... }
fn set_bind(self, bind: impl Into<i32>) { ... }
fn get_root(self) -> ProcInst { ... }
fn on_tick(self) { ... }
fn on_select(self) { ... }
fn on_left_right(self, step: impl Into<i32>, is_trigger: impl Into<bool>) { ... }
fn create_menu_bind(self) -> DebugMenu { ... }
fn dispose(self) { ... }
fn get_lang_name(self, i: impl Into<i32>) -> Il2CppString { ... }
fn get_lang_help(self) -> Il2CppString { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn get_name_english(self) -> Il2CppString
fn get_name_english(self) -> Il2CppString
GetNameEnglish() overload
Sourcefn get_help(self) -> Il2CppString
fn get_help(self) -> Il2CppString
GetHelp() overload
Sourcefn get_help_english(self) -> Il2CppString
fn get_help_english(self) -> Il2CppString
GetHelpEnglish() overload
Sourcefn get_help_width(self) -> f32
fn get_help_width(self) -> f32
GetHelpWidth() overload
Sourcefn get_help_height(self) -> f32
fn get_help_height(self) -> f32
GetHelpHeight() overload
Sourcefn get_kind(self) -> MenuItem_Kind
fn get_kind(self) -> MenuItem_Kind
GetKind() overload
Sourcefn a_call(self) -> MenuItem_Result
fn a_call(self) -> MenuItem_Result
ACall() overload
Sourcefn b_call(self) -> MenuItem_Result
fn b_call(self) -> MenuItem_Result
BCall() overload
Sourcefn x_call(self) -> MenuItem_Result
fn x_call(self) -> MenuItem_Result
XCall() overload
Sourcefn y_call(self) -> MenuItem_Result
fn y_call(self) -> MenuItem_Result
YCall() overload
Sourcefn l_call(self) -> MenuItem_Result
fn l_call(self) -> MenuItem_Result
LCall() overload
Sourcefn r_call(self) -> MenuItem_Result
fn r_call(self) -> MenuItem_Result
RCall() overload
Sourcefn plus_call(self) -> MenuItem_Result
fn plus_call(self) -> MenuItem_Result
PlusCall() overload
Sourcefn minus_call(self) -> MenuItem_Result
fn minus_call(self) -> MenuItem_Result
MinusCall() overload
Sourcefn left_call(self) -> MenuItem_Result
fn left_call(self) -> MenuItem_Result
LeftCall() overload
Sourcefn right_call(self) -> MenuItem_Result
fn right_call(self) -> MenuItem_Result
RightCall() overload
Sourcefn is_visible(self) -> bool
fn is_visible(self) -> bool
IsVisible() overload
Sourcefn is_selectable(self) -> bool
fn is_selectable(self) -> bool
IsSelectable() overload
Sourcefn get_height(self) -> f32
fn get_height(self) -> f32
GetHeight() overload
Sourcefn get_font_color(self) -> Color
fn get_font_color(self) -> Color
GetFontColor() overload
Sourcefn get_back_color(self) -> Color
fn get_back_color(self) -> Color
GetBackColor() overload
Sourcefn get_column_count(self) -> i32
fn get_column_count(self) -> i32
GetColumnCount() overload
Sourcefn get_column_width(self, i: impl Into<i32>) -> f32
fn get_column_width(self, i: impl Into<i32>) -> f32
GetColumnWidth(i32) overload
Sourcefn get_column_width0(self) -> f32
fn get_column_width0(self) -> f32
GetColumnWidth0() overload
Sourcefn get_column_width1(self) -> f32
fn get_column_width1(self) -> f32
GetColumnWidth1() overload
Sourcefn get_column_width2(self) -> f32
fn get_column_width2(self) -> f32
GetColumnWidth2() overload
Sourcefn get_column_width3(self) -> f32
fn get_column_width3(self) -> f32
GetColumnWidth3() overload
Sourcefn get_column_width4(self) -> f32
fn get_column_width4(self) -> f32
GetColumnWidth4() overload
Sourcefn get_column_height(self, i: impl Into<i32>) -> f32
fn get_column_height(self, i: impl Into<i32>) -> f32
GetColumnHeight(i32) overload
Sourcefn get_column_height0(self) -> f32
fn get_column_height0(self) -> f32
GetColumnHeight0() overload
Sourcefn get_column_height1(self) -> f32
fn get_column_height1(self) -> f32
GetColumnHeight1() overload
Sourcefn get_column_height2(self) -> f32
fn get_column_height2(self) -> f32
GetColumnHeight2() overload
Sourcefn get_column_height3(self) -> f32
fn get_column_height3(self) -> f32
GetColumnHeight3() overload
Sourcefn get_column_height4(self) -> f32
fn get_column_height4(self) -> f32
GetColumnHeight4() overload
Sourcefn get_column_name0(self) -> Il2CppString
fn get_column_name0(self) -> Il2CppString
GetColumnName0() overload
Sourcefn get_column_name1(self) -> Il2CppString
fn get_column_name1(self) -> Il2CppString
GetColumnName1() overload
Sourcefn get_column_name2(self) -> Il2CppString
fn get_column_name2(self) -> Il2CppString
GetColumnName2() overload
Sourcefn get_column_name3(self) -> Il2CppString
fn get_column_name3(self) -> Il2CppString
GetColumnName3() overload
Sourcefn get_column_name4(self) -> Il2CppString
fn get_column_name4(self) -> Il2CppString
GetColumnName4() overload
Sourcefn get_column_english0(self) -> Il2CppString
fn get_column_english0(self) -> Il2CppString
GetColumnEnglish0() overload
Sourcefn get_column_english1(self) -> Il2CppString
fn get_column_english1(self) -> Il2CppString
GetColumnEnglish1() overload
Sourcefn get_column_english2(self) -> Il2CppString
fn get_column_english2(self) -> Il2CppString
GetColumnEnglish2() overload
Sourcefn get_column_english3(self) -> Il2CppString
fn get_column_english3(self) -> Il2CppString
GetColumnEnglish3() overload
Sourcefn get_column_english4(self) -> Il2CppString
fn get_column_english4(self) -> Il2CppString
GetColumnEnglish4() overload
Sourcefn get_column_align(self, i: impl Into<i32>) -> MenuItem_Align
fn get_column_align(self, i: impl Into<i32>) -> MenuItem_Align
GetColumnAlign(i32) overload
Sourcefn get_column_align0(self) -> MenuItem_Align
fn get_column_align0(self) -> MenuItem_Align
GetColumnAlign0() overload
Sourcefn get_column_align1(self) -> MenuItem_Align
fn get_column_align1(self) -> MenuItem_Align
GetColumnAlign1() overload
Sourcefn get_column_align2(self) -> MenuItem_Align
fn get_column_align2(self) -> MenuItem_Align
GetColumnAlign2() overload
Sourcefn get_column_align3(self) -> MenuItem_Align
fn get_column_align3(self) -> MenuItem_Align
GetColumnAlign3() overload
Sourcefn get_column_align4(self) -> MenuItem_Align
fn get_column_align4(self) -> MenuItem_Align
GetColumnAlign4() overload
Sourcefn get_column_color(self, i: impl Into<i32>) -> Color
fn get_column_color(self, i: impl Into<i32>) -> Color
GetColumnColor(i32) overload
Sourcefn get_column_color0(self) -> Color
fn get_column_color0(self) -> Color
GetColumnColor0() overload
Sourcefn get_column_color1(self) -> Color
fn get_column_color1(self) -> Color
GetColumnColor1() overload
Sourcefn get_column_color2(self) -> Color
fn get_column_color2(self) -> Color
GetColumnColor2() overload
Sourcefn get_column_color3(self) -> Color
fn get_column_color3(self) -> Color
GetColumnColor3() overload
Sourcefn get_column_color4(self) -> Color
fn get_column_color4(self) -> Color
GetColumnColor4() overload
Sourcefn get_disable_color(self) -> Color
fn get_disable_color(self) -> Color
GetDisableColor() overload
Sourcefn get_margin_width(self) -> f32
fn get_margin_width(self) -> f32
GetMarginWidth() overload
Sourcefn get_margin_height(self) -> f32
fn get_margin_height(self) -> f32
GetMarginHeight() overload
GetMenu() overload
Sourcefn get_text_width(self, i: impl Into<i32>) -> f32
fn get_text_width(self, i: impl Into<i32>) -> f32
GetTextWidth(i32) overload
Sourcefn get_text_height(self, i: impl Into<i32>) -> f32
fn get_text_height(self, i: impl Into<i32>) -> f32
GetTextHeight(i32) overload
SetMenu(crate::app::debugmenu::DebugMenu) overload
Sourcefn get_state(self) -> MenuItem_State
fn get_state(self) -> MenuItem_State
GetState() overload
Sourcefn set_state(self, state: impl Into<MenuItem_State>)
fn set_state(self, state: impl Into<MenuItem_State>)
SetState(crate::app::menuitem::MenuItem_State) overload
Sourcefn on_left_right(self, step: impl Into<i32>, is_trigger: impl Into<bool>)
fn on_left_right(self, step: impl Into<i32>, is_trigger: impl Into<bool>)
OnLeftRight(i32, bool) overload
CreateMenuBind() overload
Sourcefn get_lang_name(self, i: impl Into<i32>) -> Il2CppString
fn get_lang_name(self, i: impl Into<i32>) -> Il2CppString
GetLangName(i32) overload
Sourcefn get_lang_help(self) -> Il2CppString
fn get_lang_help(self) -> Il2CppString
GetLangHelp() 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: IMenuItem> IMenuItemMethods for __T
app-menuitem only.