[][src]Type Definition maybe_sync::AtomicBool

type AtomicBool = Cell<bool>;

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.