Struct lazy_static::lazy::Lazy [] [src]

pub struct Lazy<T: Sync>(pub *const T, pub Once);

Methods

impl<T: Sync> Lazy<T>
[src]

fn get<F>(&'static mut self, f: F) -> &T where F: FnOnce() -> T

Trait Implementations

impl<T: Sync> Sync for Lazy<T>
[src]