Trait atomig::impls::PrimitiveAtom
source · pub trait PrimitiveAtom: Sized + Copy + Sealed {
type Impl;
}
Expand description
Primitive types that can directly be used in an atomic way.
This trait is implemented exactly for every type that has a corresponding
atomic type in std::sync::atomic
. You cannot implement this trait for
your own types; see Atom
instead. This trait’s items are not part of
the public API – see the module docs.
Required Associated Types§
Object Safety§
This trait is not object safe.