pub type AtomicBool = Cell<bool>;Expand description
A boolean type which can be safely shared between threads
when “sync” feature is enabled.
A boolean type with non-threadsafe interior mutability
when “sync” feature is not enabled.
This type has the same in-memory representation as a bool.
Aliased Type§
pub struct AtomicBool { /* private fields */ }