Skip to main content

IAssetReferenceUIRestrictionMethods

Trait IAssetReferenceUIRestrictionMethods 

Source
pub trait IAssetReferenceUIRestrictionMethods: IAssetReferenceUIRestriction {
    // Provided methods
    fn validate_asset(self, obj: impl Into<Object_2>) -> bool { ... }
    fn validate_asset_2(self, path: impl Into<Il2CppString>) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn validate_asset(self, obj: impl Into<Object_2>) -> bool

ValidateAsset(crate::unity_engine::object_2::Object_2) overload

Source

fn validate_asset_2(self, path: impl Into<Il2CppString>) -> bool

ValidateAsset(::unity::Il2CppString) overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IAssetReferenceUIRestriction> IAssetReferenceUIRestrictionMethods for __T

Available on crate feature unity_engine-assetreferenceuirestriction only.