Skip to main content

IAssetReferenceUILabelRestrictionMethods

Trait IAssetReferenceUILabelRestrictionMethods 

Source
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§

Source

fn ctor(self, allowed_labels: impl Into<Array<Il2CppString>>)

.ctor(::unity::Array<::unity::Il2CppString>) overload

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 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§

Source§

impl<__T: IAssetReferenceUILabelRestriction> IAssetReferenceUILabelRestrictionMethods for __T

Available on crate feature unity_engine-assetreferenceuilabelrestriction only.