Skip to main content

ISingletonMonoBehaviourList_1Methods

Trait ISingletonMonoBehaviourList_1Methods 

Source
pub trait ISingletonMonoBehaviourList_1Methods<T0: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn get_instance() -> List_1<T0> { ... }
    fn set_instance(value: List_1<T0>) { ... }
    fn awake(self)
       where Self: Sized { ... }
    fn on_destroy(self)
       where Self: Sized { ... }
    fn ctor(self)
       where Self: Sized { ... }
    fn cctor() { ... }
}

Provided Methods§

Source

fn get_instance() -> List_1<T0>

Source

fn set_instance(value: List_1<T0>)

Source

fn awake(self)
where Self: Sized,

Source

fn on_destroy(self)
where Self: Sized,

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§