Module rafx_base::atomic_once_cell
source · Structs§
- A thread-safe container that does not require default initialization. The cell may be initialized with
set
and then retrieved as a reference withget
. Callingset
is thread-safe. The cell will panic if theset
function is called more than once. The cell will only drop initialized elements.