Trait HasAtomicInt

Source
pub trait HasAtomicInt: HasAtomic {
    type AtomicInt: AtomicInt<Primitive = Self>;
}
Expand description

A marker trait representing types that have an associated atomic integer type.

Required Associated Types§

Source

type AtomicInt: AtomicInt<Primitive = Self>

Implementors§

Source§

impl<T: HasAtomic> HasAtomicInt for T
where T::Atomic: AtomicInt<Primitive = T>,