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§
fn get_instance() -> T0
fn set_is_resume(self, value: bool)where
Self: Sized,
fn get_is_resume(self) -> boolwhere
Self: Sized,
fn get_version(self) -> i32where
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()
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.