HasAtomic

Trait HasAtomic 

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

A trait representing types that have an associated atomic type.

Required Associated Types§

Source

type Atomic: Atomic<Primitive = Self>

Implementations on Foreign Types§

Source§

impl HasAtomic for bool

Available on target_has_atomic=8 only.
Source§

impl HasAtomic for i8

Available on target_has_atomic=8 only.
Source§

impl HasAtomic for i16

Available on target_has_atomic=16 only.
Source§

impl HasAtomic for i32

Available on target_has_atomic=32 only.
Source§

impl HasAtomic for i64

Available on target_has_atomic=64 only.
Source§

impl HasAtomic for isize

Available on target_has_atomic=ptr only.
Source§

impl HasAtomic for u8

Available on target_has_atomic=8 only.
Source§

impl HasAtomic for u16

Available on target_has_atomic=16 only.
Source§

impl HasAtomic for u32

Available on target_has_atomic=32 only.
Source§

impl HasAtomic for u64

Available on target_has_atomic=64 only.
Source§

impl HasAtomic for usize

Available on target_has_atomic=ptr only.
Source§

impl<T> HasAtomic for *mut T

Available on target_has_atomic=ptr only.

Implementors§