Skip to main content

IGroupBeginItemMethods

Trait IGroupBeginItemMethods 

Source
pub trait IGroupBeginItemMethods: IGroupBeginItem {
    // Provided methods
    fn ctor(
        self,
        name: impl Into<Il2CppString>,
        state: impl Into<MenuItem_State>,
    ) { ... }
    fn ctor_2(
        self,
        name: impl Into<Il2CppString>,
        english: impl Into<Il2CppString>,
        state: impl Into<MenuItem_State>,
    ) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn get_help(self) -> Il2CppString { ... }
    fn get_kind(self) -> MenuItem_Kind { ... }
    fn get_font_color(self) -> Color { ... }
    fn a_call(self) -> MenuItem_Result { ... }
    fn left_call(self) -> MenuItem_Result { ... }
    fn right_call(self) -> MenuItem_Result { ... }
    fn change_state(self, state: impl Into<MenuItem_State>) { ... }
}

Provided Methods§

Source

fn ctor(self, name: impl Into<Il2CppString>, state: impl Into<MenuItem_State>)

.ctor(::unity::Il2CppString, crate::app::menuitem::MenuItem_State) overload

Source

fn ctor_2( self, name: impl Into<Il2CppString>, english: impl Into<Il2CppString>, state: impl Into<MenuItem_State>, )

.ctor(::unity::Il2CppString, ::unity::Il2CppString, crate::app::menuitem::MenuItem_State) overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn get_help(self) -> Il2CppString

GetHelp() overload

Source

fn get_kind(self) -> MenuItem_Kind

GetKind() overload

Source

fn get_font_color(self) -> Color

GetFontColor() overload

Source

fn a_call(self) -> MenuItem_Result

ACall() overload

Source

fn left_call(self) -> MenuItem_Result

LeftCall() overload

Source

fn right_call(self) -> MenuItem_Result

RightCall() overload

Source

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

ChangeState(crate::app::menuitem::MenuItem_State) 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: IGroupBeginItem> IGroupBeginItemMethods for __T

Available on crate feature app-groupbeginitem only.