Skip to main content

IAssetReferenceAtlasedSpriteMethods

Trait IAssetReferenceAtlasedSpriteMethods 

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

Provided Methods§

Source

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

.ctor(::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

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: IAssetReferenceAtlasedSprite> IAssetReferenceAtlasedSpriteMethods for __T

Available on crate feature unity_engine-addressable_assets-assetreferenceatlasedsprite only.