pub type Lazy<T, F = fn() -> T> = Lazy<T, F>;
Available on crate feature
lazy
only.Expand description
A value which is initialized on the first access. See lazy::Lazy
for documentation.
A note for advanced users: this alias exists to avoid subtle type inference errors due to the default relax strategy type parameter. If you need a non-default relax strategy, use the fully-qualified path.
Aliased Type§
struct Lazy<T, F = fn() -> T> { /* private fields */ }