std::lazy - Rust
Description: API documentation for the Rust `lazy` mod in crate `std`.
Keywords: rust, rustlang, rust-lang, lazy

# [−][src]Module std::lazy

🔬 This is a nightly-only experimental API. (`once_cell` #74465)

Lazy values and one-time initialization of static data.

## Structs

Lazy | Experimental A value which is initialized on the first access.
OnceCell | Experimental A cell which can be written to only once.
SyncLazy | Experimental A value which is initialized on the first access.
SyncOnceCell | Experimental A synchronization primitive which can be written to only once.