Skip to main content

ISingletonProcInst_1Methods

Trait ISingletonProcInst_1Methods 

Source
pub trait ISingletonProcInst_1Methods<T0: ClassIdentity>: ClassIdentity {
Show 20 methods // Provided methods fn get_instance() -> T0 { ... } fn on_singleton_create(self) where Self: Sized { ... } fn on_singleton_dispose(self) where Self: Sized { ... } fn get_is_resume(self) -> bool where Self: Sized { ... } fn set_is_resume(self, value: bool) where Self: Sized { ... } fn get_version(self) -> i32 where Self: Sized { ... } fn resume_start(self) where Self: Sized { ... } fn resume_end(self) where Self: Sized { ... } fn serialize(stream: Stream_2) { ... } fn deserialize(stream: Stream_2) { ... } fn get_global_asset_path(self) -> Il2CppString where Self: Sized { ... } fn is_loading_global_asset(self) -> bool where Self: Sized { ... } fn release_global_asset(self) where Self: Sized { ... } fn instantiate_global_asset(self, parent: GameObject) -> GameObject where Self: Sized { ... } fn instantiate_global_asset_2(self, parent: Transform) -> GameObject where Self: Sized { ... } fn on_serialize(self, stream: Stream_2) where Self: Sized { ... } fn on_deserialize(self, stream: Stream_2, version: i32) where Self: Sized { ... } fn op_implicit(exists: SingletonProcInst_1<T0>) -> bool { ... } fn ctor(self) where Self: Sized { ... } fn cctor() { ... }
}

Provided Methods§

Source

fn get_instance() -> T0

Source

fn on_singleton_create(self)
where Self: Sized,

Source

fn on_singleton_dispose(self)
where Self: Sized,

Source

fn get_is_resume(self) -> bool
where Self: Sized,

Source

fn set_is_resume(self, value: bool)
where Self: Sized,

Source

fn get_version(self) -> i32
where Self: Sized,

Source

fn resume_start(self)
where Self: Sized,

Source

fn resume_end(self)
where Self: Sized,

Source

fn serialize(stream: Stream_2)

Source

fn deserialize(stream: Stream_2)

Source

fn get_global_asset_path(self) -> Il2CppString
where Self: Sized,

Source

fn is_loading_global_asset(self) -> bool
where Self: Sized,

Source

fn release_global_asset(self)
where Self: Sized,

Source

fn instantiate_global_asset(self, parent: GameObject) -> GameObject
where Self: Sized,

Source

fn instantiate_global_asset_2(self, parent: Transform) -> GameObject
where Self: Sized,

Source

fn on_serialize(self, stream: Stream_2)
where Self: Sized,

Source

fn on_deserialize(self, stream: Stream_2, version: i32)
where Self: Sized,

Source

fn op_implicit(exists: SingletonProcInst_1<T0>) -> bool

Source

fn ctor(self)
where Self: Sized,

Source

fn cctor()

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§