Skip to main content

IIRawAssetBundle_1Methods

Trait IIRawAssetBundle_1Methods 

Source
pub trait IIRawAssetBundle_1Methods<T0: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn ctor(self, path: Il2CppString)
       where Self: Sized { ... }
    fn dispose(self)
       where Self: Sized { ... }
    fn on_load(self)
       where Self: Sized { ... }
    fn on_unload(self)
       where Self: Sized { ... }
    fn load(self, path: Il2CppString) -> bool
       where Self: Sized { ... }
    fn unload(self)
       where Self: Sized { ... }
    fn get_asset(self) -> T0
       where Self: Sized { ... }
}

Provided Methods§

Source

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

Source

fn dispose(self)
where Self: Sized,

Source

fn on_load(self)
where Self: Sized,

Source

fn on_unload(self)
where Self: Sized,

Source

fn load(self, path: Il2CppString) -> bool
where Self: Sized,

Source

fn unload(self)
where Self: Sized,

Source

fn get_asset(self) -> T0
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§