Module std::lazy

source · []
🔬 This is a nightly-only experimental API. (once_cell #74465)
Expand description

Lazy values and one-time initialization of static data.

Structs

LazyExperimental

A value which is initialized on the first access.

OnceCellExperimental

A cell which can be written to only once.

SyncLazyExperimental

A value which is initialized on the first access.

SyncOnceCellExperimental

A synchronization primitive which can be written to only once.