Module lazy

Module lazy 

Source
Expand description

Lazy values and one-time initialization of static data.

Structsยง

Lazy
A value which is initialized on the first access.
OnceCell
A cell which can be written to only once. It is not thread safe.
SyncLazy
A value which is initialized on the first access.
SyncOnceCell
A thread-safe cell which can be written to only once.