pub trait ISingletonScriptableObject_1Methods<T0: ClassIdentity>: ClassIdentity {
// Provided methods
fn get_instance() -> T0 { ... }
fn on_enable(self)
where Self: Sized { ... }
fn on_disable(self)
where Self: Sized { ... }
fn ctor(self)
where Self: Sized { ... }
fn cctor() { ... }
}Provided Methods§
fn get_instance() -> T0
fn on_enable(self)where
Self: Sized,
fn on_disable(self)where
Self: Sized,
fn ctor(self)where
Self: Sized,
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.