W3cubDocs

/Rust

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.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/lazy/index.html