pub trait ITResourceHandle_1Methods<T0: ClassIdentity>: ClassIdentity {
// Provided methods
fn ctor(self)
where Self: Sized { ... }
fn ctor_2(self, path: Il2CppString, completed: Action_1<T0>)
where Self: Sized { ... }
fn get_asset(self) -> T0
where Self: Sized { ... }
fn load_async(self, path: Il2CppString, completed: Action_1<T0>)
where Self: Sized { ... }
fn instantiate(self, parent: GameObject, name: Il2CppString) -> T0
where Self: Sized { ... }
fn instantiate_2(self, parent: Transform, name: Il2CppString) -> T0
where Self: Sized { ... }
}Provided Methods§
fn ctor(self)where
Self: Sized,
fn ctor_2(self, path: Il2CppString, completed: Action_1<T0>)where
Self: Sized,
fn get_asset(self) -> T0where
Self: Sized,
fn load_async(self, path: Il2CppString, completed: Action_1<T0>)where
Self: Sized,
fn instantiate(self, parent: GameObject, name: Il2CppString) -> T0where
Self: Sized,
fn instantiate_2(self, parent: Transform, name: Il2CppString) -> T0where
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.