pub trait HasAtomic {
type Atomic: Atomic<Primitive = Self>;
}
Expand description
A trait representing types that have an associated atomic type.
Required Associated Types§
Implementations on Foreign Types§
Source§impl HasAtomic for bool
Available on target_has_atomic="8"
only.
impl HasAtomic for bool
Available on
target_has_atomic="8"
only.type Atomic = AtomicBool
Source§impl HasAtomic for isize
Available on target_has_atomic="ptr"
only.
impl HasAtomic for isize
Available on
target_has_atomic="ptr"
only.type Atomic = AtomicIsize
Source§impl HasAtomic for usize
Available on target_has_atomic="ptr"
only.
impl HasAtomic for usize
Available on
target_has_atomic="ptr"
only.