Skip to main content

IMenuItemMethods

Trait IMenuItemMethods 

Source
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§

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn get_name_english(self) -> Il2CppString

GetNameEnglish() overload

Source

fn get_help(self) -> Il2CppString

GetHelp() overload

Source

fn get_help_english(self) -> Il2CppString

GetHelpEnglish() overload

Source

fn get_help_width(self) -> f32

GetHelpWidth() overload

Source

fn get_help_height(self) -> f32

GetHelpHeight() overload

Source

fn get_kind(self) -> MenuItem_Kind

GetKind() overload

Source

fn a_call(self) -> MenuItem_Result

ACall() overload

Source

fn b_call(self) -> MenuItem_Result

BCall() overload

Source

fn x_call(self) -> MenuItem_Result

XCall() overload

Source

fn y_call(self) -> MenuItem_Result

YCall() overload

Source

fn l_call(self) -> MenuItem_Result

LCall() overload

Source

fn r_call(self) -> MenuItem_Result

RCall() overload

Source

fn plus_call(self) -> MenuItem_Result

PlusCall() overload

Source

fn minus_call(self) -> MenuItem_Result

MinusCall() overload

Source

fn left_call(self) -> MenuItem_Result

LeftCall() overload

Source

fn right_call(self) -> MenuItem_Result

RightCall() overload

Source

fn is_enable(self) -> bool

IsEnable() overload

Source

fn is_visible(self) -> bool

IsVisible() overload

Source

fn is_selectable(self) -> bool

IsSelectable() overload

Source

fn get_width(self) -> f32

GetWidth() overload

Source

fn get_height(self) -> f32

GetHeight() overload

Source

fn get_font_color(self) -> Color

GetFontColor() overload

Source

fn get_back_color(self) -> Color

GetBackColor() overload

Source

fn get_column_count(self) -> i32

GetColumnCount() overload

Source

fn get_column_width(self, i: impl Into<i32>) -> f32

GetColumnWidth(i32) overload

Source

fn get_column_width0(self) -> f32

GetColumnWidth0() overload

Source

fn get_column_width1(self) -> f32

GetColumnWidth1() overload

Source

fn get_column_width2(self) -> f32

GetColumnWidth2() overload

Source

fn get_column_width3(self) -> f32

GetColumnWidth3() overload

Source

fn get_column_width4(self) -> f32

GetColumnWidth4() overload

Source

fn get_column_height(self, i: impl Into<i32>) -> f32

GetColumnHeight(i32) overload

Source

fn get_column_height0(self) -> f32

GetColumnHeight0() overload

Source

fn get_column_height1(self) -> f32

GetColumnHeight1() overload

Source

fn get_column_height2(self) -> f32

GetColumnHeight2() overload

Source

fn get_column_height3(self) -> f32

GetColumnHeight3() overload

Source

fn get_column_height4(self) -> f32

GetColumnHeight4() overload

Source

fn get_column_name0(self) -> Il2CppString

GetColumnName0() overload

Source

fn get_column_name1(self) -> Il2CppString

GetColumnName1() overload

Source

fn get_column_name2(self) -> Il2CppString

GetColumnName2() overload

Source

fn get_column_name3(self) -> Il2CppString

GetColumnName3() overload

Source

fn get_column_name4(self) -> Il2CppString

GetColumnName4() overload

Source

fn get_column_english0(self) -> Il2CppString

GetColumnEnglish0() overload

Source

fn get_column_english1(self) -> Il2CppString

GetColumnEnglish1() overload

Source

fn get_column_english2(self) -> Il2CppString

GetColumnEnglish2() overload

Source

fn get_column_english3(self) -> Il2CppString

GetColumnEnglish3() overload

Source

fn get_column_english4(self) -> Il2CppString

GetColumnEnglish4() overload

Source

fn get_column_align(self, i: impl Into<i32>) -> MenuItem_Align

GetColumnAlign(i32) overload

Source

fn get_column_align0(self) -> MenuItem_Align

GetColumnAlign0() overload

Source

fn get_column_align1(self) -> MenuItem_Align

GetColumnAlign1() overload

Source

fn get_column_align2(self) -> MenuItem_Align

GetColumnAlign2() overload

Source

fn get_column_align3(self) -> MenuItem_Align

GetColumnAlign3() overload

Source

fn get_column_align4(self) -> MenuItem_Align

GetColumnAlign4() overload

Source

fn get_column_color(self, i: impl Into<i32>) -> Color

GetColumnColor(i32) overload

Source

fn get_column_color0(self) -> Color

GetColumnColor0() overload

Source

fn get_column_color1(self) -> Color

GetColumnColor1() overload

Source

fn get_column_color2(self) -> Color

GetColumnColor2() overload

Source

fn get_column_color3(self) -> Color

GetColumnColor3() overload

Source

fn get_column_color4(self) -> Color

GetColumnColor4() overload

Source

fn get_disable_color(self) -> Color

GetDisableColor() overload

Source

fn get_margin_width(self) -> f32

GetMarginWidth() overload

Source

fn get_margin_height(self) -> f32

GetMarginHeight() overload

Source

fn get_key(self, index: impl Into<i32>) -> i32

GetKey(i32) overload

Source

fn get_menu(self) -> DebugMenu

GetMenu() overload

Source

fn get_text_width(self, i: impl Into<i32>) -> f32

GetTextWidth(i32) overload

Source

fn get_text_height(self, i: impl Into<i32>) -> f32

GetTextHeight(i32) overload

Source

fn set_menu(self, menu: impl Into<DebugMenu>)

SetMenu(crate::app::debugmenu::DebugMenu) overload

Source

fn get_state(self) -> MenuItem_State

GetState() overload

Source

fn set_state(self, state: impl Into<MenuItem_State>)

SetState(crate::app::menuitem::MenuItem_State) overload

Source

fn get_bind(self) -> i32

GetBind() overload

Source

fn set_bind(self, bind: impl Into<i32>)

SetBind(i32) overload

Source

fn get_root(self) -> ProcInst

GetRoot() overload

Source

fn on_tick(self)

OnTick() overload

Source

fn on_select(self)

OnSelect() overload

Source

fn on_left_right(self, step: impl Into<i32>, is_trigger: impl Into<bool>)

OnLeftRight(i32, bool) overload

Source

fn create_menu_bind(self) -> DebugMenu

CreateMenuBind() overload

Source

fn dispose(self)

Dispose() overload

Source

fn get_lang_name(self, i: impl Into<i32>) -> Il2CppString

GetLangName(i32) overload

Source

fn get_lang_help(self) -> Il2CppString

GetLangHelp() overload

Source

fn ctor(self)

.ctor() 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: IMenuItem> IMenuItemMethods for __T

Available on crate feature app-menuitem only.