Skip to main content

IAddComponentMenuMethods

Trait IAddComponentMenuMethods 

Source
pub trait IAddComponentMenuMethods: IAddComponentMenu {
    // Provided methods
    fn ctor(self, menu_name: impl Into<Il2CppString>) { ... }
    fn ctor_2(self, menu_name: impl Into<Il2CppString>, order: impl Into<i32>) { ... }
}

Provided Methods§

Source

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

.ctor(::unity::Il2CppString) overload

Source

fn ctor_2(self, menu_name: impl Into<Il2CppString>, order: impl Into<i32>)

.ctor(::unity::Il2CppString, 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: IAddComponentMenu> IAddComponentMenuMethods for __T

Available on crate feature unity_engine-addcomponentmenu only.