pub struct AssetReferenceUIRestriction(/* private fields */);Expand description
IL2CPP class: UnityEngine.AssetReferenceUIRestriction
Implementations§
Source§impl AssetReferenceUIRestriction
impl AssetReferenceUIRestriction
pub fn validate_asset_method_info() -> &'static MethodInfo
pub fn validate_asset_2_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
Source§impl AssetReferenceUIRestriction
impl AssetReferenceUIRestriction
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 AssetReferenceUIRestriction’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 AssetReferenceUIRestriction’s own ValidateAsset. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Trait Implementations§
Source§impl Clone for AssetReferenceUIRestriction
impl Clone for AssetReferenceUIRestriction
Source§fn clone(&self) -> AssetReferenceUIRestriction
fn clone(&self) -> AssetReferenceUIRestriction
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 AssetReferenceUIRestriction
impl FromIlInstance for AssetReferenceUIRestriction
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 compatibleimpl Copy for AssetReferenceUIRestriction
impl IAssetReferenceUIRestriction for AssetReferenceUIRestriction
Auto Trait Implementations§
impl Freeze for AssetReferenceUIRestriction
impl RefUnwindSafe for AssetReferenceUIRestriction
impl !Send for AssetReferenceUIRestriction
impl !Sync for AssetReferenceUIRestriction
impl Unpin for AssetReferenceUIRestriction
impl UnwindSafe for AssetReferenceUIRestriction
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> 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