Docs.rs
once_cell-1.21.1
once_cell 1.21.1
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
vorner
matklad
Dependencies
critical-section ^1.1.3
normal
optional
parking_lot_core ^0.9.10
normal
optional
portable-atomic ^1.8
normal
optional
critical-section ^1.1.3
dev
regex ^1.10.6
dev
Versions
100%
of the crate is documented
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.21.1
Module sync
Module Items
Structs
In crate once_
cell
once_cell
Module
sync
Copy item path
Source
Expand description
Thread-safe, blocking version of
OnceCell
.
Structs
ยง
Lazy
A value which is initialized on the first access.
Once
Cell
A thread-safe cell which can be written to only once.