Skip to main content

IAccessoryEmptyMenuItemMethods

Trait IAccessoryEmptyMenuItemMethods 

Source
pub trait IAccessoryEmptyMenuItemMethods: IAccessoryEmptyMenuItem {
    // Provided methods
    fn get_m_accessory_kind(self) -> AccessoryData_Kinds { ... }
    fn set_m_accessory_kind(self, value: impl Into<AccessoryData_Kinds>) { ... }
    fn ctor(
        self,
        name: impl Into<Il2CppString>,
        select_event_handler: impl Into<AccessoryMenuItem_SelectEventHandler>,
    ) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn build_attribute(self) -> BasicMenuItem_Attribute { ... }
    fn on_build_menu_item_content(self) { ... }
    fn on_select(self) { ... }
    fn a_call(self) -> BasicMenu_Result { ... }
}

Provided Methods§

Source

fn get_m_accessory_kind(self) -> AccessoryData_Kinds

get_m_AccessoryKind() overload

Source

fn set_m_accessory_kind(self, value: impl Into<AccessoryData_Kinds>)

set_m_AccessoryKind(crate::app::accessorydata::AccessoryData_Kinds) overload

Source

fn ctor( self, name: impl Into<Il2CppString>, select_event_handler: impl Into<AccessoryMenuItem_SelectEventHandler>, )

.ctor(::unity::Il2CppString, crate::app::accessorymenuitem::AccessoryMenuItem_SelectEventHandler) overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() overload

Source

fn on_build_menu_item_content(self)

OnBuildMenuItemContent() overload

Source

fn on_select(self)

OnSelect() overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() 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: IAccessoryEmptyMenuItem> IAccessoryEmptyMenuItemMethods for __T

Available on crate feature app-accessoryemptymenuitem only.