logo
1
2
3
4
5
6
/// Singleton Factory method
///
pub trait Singleton {
    /// Retrieve instance of Singleton
    fn global() -> &'static Self;
}