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§
Sourcefn ctor(self, item_name: impl Into<Il2CppString>)
fn ctor(self, item_name: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_2(
self,
item_name: impl Into<Il2CppString>,
is_validate_function: impl Into<bool>,
)
fn ctor_2( self, item_name: impl Into<Il2CppString>, is_validate_function: impl Into<bool>, )
.ctor(::unity::Il2CppString, bool) overload
Sourcefn ctor_3(
self,
item_name: impl Into<Il2CppString>,
is_validate_function: impl Into<bool>,
priority: impl Into<i32>,
)
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§
impl<__T: IContextMenu> IContextMenuMethods for __T
Available on crate feature
unity_engine-contextmenu only.