logo
pub trait Singleton {
    fn global() -> &'static Self;
}
Expand description

Singleton Factory method

Required Methods

Retrieve instance of Singleton

Implementations on Foreign Types

Model Singleton Factory method

View Singleton Factory method

It is not possible to implement Singleton with generics. So you should implement it in your final code only.

Error: use of generic parameter from outer function

Facade Singleton Factory method

It is not possible to implement Singleton with generics. So you should implement it in your final code only.

Error: use of generic parameter from outer function

Controller Singleton Factory method

It is not possible to implement Singleton with generics. So you should implement it in your final code only.

Error: use of generic parameter from outer function

Implementors