pub trait IAssetReferenceUILabelRestrictionMethods: IAssetReferenceUILabelRestriction {
// Provided methods
fn ctor(self, allowed_labels: impl Into<Array<Il2CppString>>) { ... }
fn validate_asset(self, obj: impl Into<Object_2>) -> bool { ... }
fn validate_asset_2(self, path: impl Into<Il2CppString>) -> bool { ... }
fn to_string(self) -> Il2CppString { ... }
}Provided Methods§
Sourcefn ctor(self, allowed_labels: impl Into<Array<Il2CppString>>)
fn ctor(self, allowed_labels: impl Into<Array<Il2CppString>>)
.ctor(::unity::Array<::unity::Il2CppString>) overload
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
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() 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: IAssetReferenceUILabelRestriction> IAssetReferenceUILabelRestrictionMethods for __T
Available on crate feature
unity_engine-assetreferenceuilabelrestriction only.