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§
Sourcefn ctor(self, menu_name: impl Into<Il2CppString>)
fn ctor(self, menu_name: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_2(self, menu_name: impl Into<Il2CppString>, order: impl Into<i32>)
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§
impl<__T: IAddComponentMenu> IAddComponentMenuMethods for __T
Available on crate feature
unity_engine-addcomponentmenu only.