pub struct AssetReferenceUILabelRestriction(/* private fields */);Expand description
IL2CPP class: UnityEngine.AssetReferenceUILabelRestriction
Inherits: AssetReferenceUIRestriction
Implementations§
Source§impl AssetReferenceUILabelRestriction
impl AssetReferenceUILabelRestriction
pub fn base(self) -> AssetReferenceUIRestriction
Source§impl AssetReferenceUILabelRestriction
impl AssetReferenceUILabelRestriction
pub fn ctor_method_info() -> &'static MethodInfo
pub fn validate_asset_method_info() -> &'static MethodInfo
pub fn validate_asset_2_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
Source§impl AssetReferenceUILabelRestriction
impl AssetReferenceUILabelRestriction
Sourcepub unsafe fn validate_asset(this: impl Into<IlInstance>, obj: Object_2) -> bool
pub unsafe fn validate_asset(this: impl Into<IlInstance>, obj: Object_2) -> bool
Direct (non-virtual) call to AssetReferenceUILabelRestriction’s own ValidateAsset. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn validate_asset_2(
this: impl Into<IlInstance>,
path: Il2CppString,
) -> bool
pub unsafe fn validate_asset_2( this: impl Into<IlInstance>, path: Il2CppString, ) -> bool
Direct (non-virtual) call to AssetReferenceUILabelRestriction’s own ValidateAsset. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn to_string(this: impl Into<IlInstance>) -> Il2CppString
pub unsafe fn to_string(this: impl Into<IlInstance>) -> Il2CppString
Direct (non-virtual) call to AssetReferenceUILabelRestriction’s own ToString. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Source§impl AssetReferenceUILabelRestriction
impl AssetReferenceUILabelRestriction
Sourcepub fn new(allowed_labels: Array<Il2CppString>) -> Self
pub fn new(allowed_labels: Array<Il2CppString>) -> Self
.ctor(::unity::Array<::unity::Il2CppString>) — overload selector
Trait Implementations§
Source§impl Clone for AssetReferenceUILabelRestriction
impl Clone for AssetReferenceUILabelRestriction
Source§fn clone(&self) -> AssetReferenceUILabelRestriction
fn clone(&self) -> AssetReferenceUILabelRestriction
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 AssetReferenceUILabelRestriction
impl FromIlInstance for AssetReferenceUILabelRestriction
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 IAssetReferenceUILabelRestriction for AssetReferenceUILabelRestriction
impl IAssetReferenceUILabelRestriction for AssetReferenceUILabelRestriction
fn m_allowed_labels(self) -> Array<Il2CppString>
fn set_m_allowed_labels(self, value: Array<Il2CppString>)
fn m_cached_to_string(self) -> Il2CppString
fn set_m_cached_to_string(self, value: Il2CppString)
impl Copy for AssetReferenceUILabelRestriction
impl IAssetReferenceUIRestriction for AssetReferenceUILabelRestriction
Auto Trait Implementations§
impl Freeze for AssetReferenceUILabelRestriction
impl RefUnwindSafe for AssetReferenceUILabelRestriction
impl !Send for AssetReferenceUILabelRestriction
impl !Sync for AssetReferenceUILabelRestriction
impl Unpin for AssetReferenceUILabelRestriction
impl UnwindSafe for AssetReferenceUILabelRestriction
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<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, capacity: i32)where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_item(self, index: i32) -> T0where
Self: Sized,
fn add(self, item: T0)where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn unchecked_add(self, item: T0)where
Self: Sized,
fn ensure_capacity(self, minimum: i32)where
Self: Sized,
Source§impl<__T> IAssetReferenceUILabelRestrictionMethods for __Twhere
__T: IAssetReferenceUILabelRestriction,
impl<__T> IAssetReferenceUILabelRestrictionMethods for __Twhere
__T: IAssetReferenceUILabelRestriction,
Source§fn ctor(self, allowed_labels: impl Into<Array<Il2CppString>>)
fn ctor(self, allowed_labels: impl Into<Array<Il2CppString>>)
.ctor(::unity::Array<::unity::Il2CppString>) overloadSource§fn validate_asset(self, obj: impl Into<Object_2>) -> bool
fn validate_asset(self, obj: impl Into<Object_2>) -> bool
ValidateAsset(crate::unity_engine::object_2::Object_2) overloadSource§fn validate_asset_2(self, path: impl Into<Il2CppString>) -> bool
fn validate_asset_2(self, path: impl Into<Il2CppString>) -> bool
ValidateAsset(::unity::Il2CppString) overloadSource§fn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overloadSource§impl<__T> IAssetReferenceUIRestrictionMethods for __Twhere
__T: IAssetReferenceUIRestriction,
impl<__T> IAssetReferenceUIRestrictionMethods for __Twhere
__T: IAssetReferenceUIRestriction,
Source§fn validate_asset(self, obj: impl Into<Object_2>) -> bool
fn validate_asset(self, obj: impl Into<Object_2>) -> bool
ValidateAsset(crate::unity_engine::object_2::Object_2) overloadSource§fn validate_asset_2(self, path: impl Into<Il2CppString>) -> bool
fn validate_asset_2(self, path: impl Into<Il2CppString>) -> bool
ValidateAsset(::unity::Il2CppString) overload