[][src]Type Definition conquer_once::noblock::Lazy

type Lazy<T, F = fn() -> T> = Lazy<T, NoBlock, F>;

A type for lazy initialization of e.g. global static variables, which provides the same functionality as the lazy_static! macro.

This type does not permit any (potentially) blocking operations, only their respective non-blocking counterparts and is thus #[no_std] compatible.

For the API of this type alias, see the API of the generic Lazy type.