Docs.rs
once_cell-1.19.0
once_cell 1.19.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Documentation
Repository
crates.io
Source
Owners
vorner
matklad
Dependencies
critical-section ^1
normal
parking_lot_core ^0.9.3
normal
portable-atomic ^1
normal
critical-section ^1.1.1
dev
regex ^1.2.0
dev
Versions
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
once_cell
1.19.0
Module unsync
Structs
In crate once_cell
?
Module
once_cell
::
unsync
source
·
[
−
]
Expand description
Single-threaded version of
OnceCell
.
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.