Skip to main content

IContextMenuMethods

Trait IContextMenuMethods 

Source
pub trait IContextMenuMethods: IContextMenu {
    // Provided methods
    fn ctor(self, item_name: impl Into<Il2CppString>) { ... }
    fn ctor_2(
        self,
        item_name: impl Into<Il2CppString>,
        is_validate_function: impl Into<bool>,
    ) { ... }
    fn ctor_3(
        self,
        item_name: impl Into<Il2CppString>,
        is_validate_function: impl Into<bool>,
        priority: impl Into<i32>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self, item_name: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn ctor_2( self, item_name: impl Into<Il2CppString>, is_validate_function: impl Into<bool>, )

.ctor(::unity::Il2CppString, bool) overload

Source

fn ctor_3( self, item_name: impl Into<Il2CppString>, is_validate_function: impl Into<bool>, priority: impl Into<i32>, )

.ctor(::unity::Il2CppString, bool, i32) 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: IContextMenu> IContextMenuMethods for __T

Available on crate feature unity_engine-contextmenu only.