pub struct AddComponentMenu(/* private fields */);Expand description
IL2CPP class: UnityEngine.AddComponentMenu
Implementations§
Source§impl AddComponentMenu
impl AddComponentMenu
pub fn ctor_method_info() -> &'static MethodInfo
pub fn ctor_2_method_info() -> &'static MethodInfo
Source§impl AddComponentMenu
impl AddComponentMenu
Sourcepub fn new(menu_name: Il2CppString) -> Self
pub fn new(menu_name: Il2CppString) -> Self
.ctor(::unity::Il2CppString) — overload selector
Sourcepub fn new_2(menu_name: Il2CppString, order: i32) -> Self
pub fn new_2(menu_name: Il2CppString, order: i32) -> Self
.ctor(::unity::Il2CppString, i32) — overload selector
Trait Implementations§
Source§impl ClassIdentity for AddComponentMenu
impl ClassIdentity for AddComponentMenu
Source§impl Clone for AddComponentMenu
impl Clone for AddComponentMenu
Source§fn clone(&self) -> AddComponentMenu
fn clone(&self) -> AddComponentMenu
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FromIlInstance for AddComponentMenu
impl FromIlInstance for AddComponentMenu
fn from_il_instance(instance: IlInstance) -> Self
fn instantiate() -> Option<Self>
§fn instantiate_with_class(class: Class) -> Option<Self>
fn instantiate_with_class(class: Class) -> Option<Self>
Caller swears
class is a subtype of Self or layout compatibleSource§impl IAddComponentMenu for AddComponentMenu
impl IAddComponentMenu for AddComponentMenu
fn m_ordering(self) -> i32
fn set_m_ordering(self, value: i32)
impl Copy for AddComponentMenu
Auto Trait Implementations§
impl Freeze for AddComponentMenu
impl RefUnwindSafe for AddComponentMenu
impl !Send for AddComponentMenu
impl !Sync for AddComponentMenu
impl Unpin for AddComponentMenu
impl UnwindSafe for AddComponentMenu
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Cast for Twhere
T: SystemObject,
impl<T> Cast for Twhere
T: SystemObject,
fn get_class(self) -> Class
fn is_null(self) -> bool
fn rebind_class(self, new_class: Class)
fn override_class(self) -> Class
fn is_instance_of<T>(self) -> boolwhere
T: ClassIdentity,
fn is_direct_subclass_of<T>(self) -> boolwhere
T: ClassIdentity,
fn try_cast<T>(self) -> Option<T>where
T: ClassIdentity + FromIlInstance,
§unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
Safety Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T> DefaultInjectedMembers for T
impl<T> DefaultInjectedMembers for T
fn __injected_fields() -> Vec<InjectedFieldDescriptor>
fn __injected_methods() -> Vec<InjectedMethodDescriptor>
fn __injected_overrides() -> Vec<InjectedOverrideDescriptor>
Source§impl<__T> IAddComponentMenuMethods for __Twhere
__T: IAddComponentMenu,
impl<__T> IAddComponentMenuMethods for __Twhere
__T: IAddComponentMenu,
Source§fn ctor(self, menu_name: impl Into<Il2CppString>)
fn ctor(self, menu_name: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overloadSource§fn 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