Skip to main content

Module unchecked_cell

Module unchecked_cell 

Source
Expand description

UncheckedCell datatype; a convenience wrapper around UnsafeCell<MaybeUninit<T>>

Authors: MarioS271

Structsยง

UncheckedCell
A datatype with interior mutability, which can be uninitialized via [MaybeUninit] When the cargo feature debug-checks is enabled, this type also checks for double initialization and uninitialized access.