Skip to main content

ISingletonClass_1Methods

Trait ISingletonClass_1Methods 

Source
pub trait ISingletonClass_1Methods<T0: ClassIdentity>: ClassIdentity {
Show 28 methods // Provided methods fn get_instance() -> T0 { ... } fn set_is_resume(self, value: bool) where Self: Sized { ... } fn get_is_resume(self) -> bool where Self: Sized { ... } fn get_version(self) -> i32 where Self: Sized { ... } fn create_instance() -> T0 { ... } fn delete_instance() { ... } fn try_create_instance() -> bool { ... } fn try_delete_instance() -> bool { ... } fn tick() { ... } fn update() { ... } fn bind() { ... } fn unbind() { ... } fn is_bind() -> bool { ... } fn get_bind_count() -> i32 { ... } fn serialize(stream: Stream_2) { ... } fn deserialize(stream: Stream_2) { ... } fn on_create(self) where Self: Sized { ... } fn on_dispose(self) where Self: Sized { ... } fn on_tick(self) where Self: Sized { ... } fn on_update(self) where Self: Sized { ... } fn on_bind(self) where Self: Sized { ... } fn on_unbind(self) 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 ctor(self) where Self: Sized { ... } fn finalize(self) where Self: Sized { ... } fn op_implicit(exists: SingletonClass_1<T0>) -> bool { ... } fn cctor() { ... }
}

Provided Methods§

Source

fn get_instance() -> T0

Source

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

Source

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

Source

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

Source

fn create_instance() -> T0

Source

fn delete_instance()

Source

fn try_create_instance() -> bool

Source

fn try_delete_instance() -> bool

Source

fn tick()

Source

fn update()

Source

fn bind()

Source

fn unbind()

Source

fn is_bind() -> bool

Source

fn get_bind_count() -> i32

Source

fn serialize(stream: Stream_2)

Source

fn deserialize(stream: Stream_2)

Source

fn on_create(self)
where Self: Sized,

Source

fn on_dispose(self)
where Self: Sized,

Source

fn on_tick(self)
where Self: Sized,

Source

fn on_update(self)
where Self: Sized,

Source

fn on_bind(self)
where Self: Sized,

Source

fn on_unbind(self)
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 ctor(self)
where Self: Sized,

Source

fn finalize(self)
where Self: Sized,

Source

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

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§