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§
Sourcefn 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) overload
Sourcefn validate_asset_2(self, path: impl Into<Il2CppString>) -> bool
fn validate_asset_2(self, path: impl Into<Il2CppString>) -> bool
ValidateAsset(::unity::Il2CppString) 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: IAssetReferenceUIRestriction> IAssetReferenceUIRestrictionMethods for __T
Available on crate feature
unity_engine-assetreferenceuirestriction only.