Skip to main content

IAssetReferenceT_1Methods

Trait IAssetReferenceT_1Methods 

Source
pub trait IAssetReferenceT_1Methods<T0: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn ctor(self, guid: Il2CppString)
       where Self: Sized { ... }
    fn load_asset(self) -> AsyncOperationHandle_1<T0>
       where Self: Sized { ... }
    fn load_asset_async(self) -> AsyncOperationHandle_1<T0>
       where Self: Sized { ... }
    fn validate_asset(self, obj: Object_2) -> bool
       where Self: Sized { ... }
    fn validate_asset_2(self, main_asset_path: Il2CppString) -> bool
       where Self: Sized { ... }
}

Provided Methods§

Source

fn ctor(self, guid: Il2CppString)
where Self: Sized,

Source

fn load_asset(self) -> AsyncOperationHandle_1<T0>
where Self: Sized,

Source

fn load_asset_async(self) -> AsyncOperationHandle_1<T0>
where Self: Sized,

Source

fn validate_asset(self, obj: Object_2) -> bool
where Self: Sized,

Source

fn validate_asset_2(self, main_asset_path: Il2CppString) -> bool
where Self: Sized,

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§