sel4_atomic_ptr

Trait Atomic

Source
pub unsafe trait Atomic: AtomicSealed + Copy {
    const ALIGNMENT: usize;
    const IS_SIGNED: bool;
}

Required Associated Constants§

Source

const ALIGNMENT: usize

Source

const IS_SIGNED: bool

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 i8

Source§

const ALIGNMENT: usize = 1usize

Source§

const IS_SIGNED: bool = true

Source§

impl Atomic for i16

Source§

const ALIGNMENT: usize = 2usize

Source§

const IS_SIGNED: bool = true

Source§

impl Atomic for i32

Source§

const ALIGNMENT: usize = 4usize

Source§

const IS_SIGNED: bool = true

Source§

impl Atomic for isize

Source§

const ALIGNMENT: usize = 4usize

Source§

const IS_SIGNED: bool = true

Source§

impl Atomic for u8

Source§

const ALIGNMENT: usize = 1usize

Source§

const IS_SIGNED: bool = false

Source§

impl Atomic for u16

Source§

const ALIGNMENT: usize = 2usize

Source§

const IS_SIGNED: bool = false

Source§

impl Atomic for u32

Source§

const ALIGNMENT: usize = 4usize

Source§

const IS_SIGNED: bool = false

Source§

impl Atomic for usize

Source§

const ALIGNMENT: usize = 4usize

Source§

const IS_SIGNED: bool = false

Implementors§