Docs.rs
once_cell-1.21.4
once_cell 1.21.4
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
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module sync
once_
cell
1.21.4
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.