Trait Atomic

Source
pub trait Atomic: AtomicSealed {
    type Value: Copy + FromBytes + IntoBytes;
}

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Atomic for AtomicI8

Source§

type Value = i8

Source§

impl Atomic for AtomicI16

Source§

type Value = i16

Source§

impl Atomic for AtomicI32

Source§

type Value = i32

Source§

impl Atomic for AtomicI64

Source§

type Value = i64

Source§

impl Atomic for AtomicIsize

Source§

type Value = isize

Source§

impl Atomic for AtomicU8

Source§

type Value = u8

Source§

impl Atomic for AtomicU16

Source§

type Value = u16

Source§

impl Atomic for AtomicU32

Source§

type Value = u32

Source§

impl Atomic for AtomicU64

Source§

type Value = u64

Source§

impl Atomic for AtomicUsize

Source§

type Value = usize

Source§

impl<A: Atomic> Atomic for Aligned<A, A::Value>

Source§

type Value = <A as Atomic>::Value

Implementors§