atomic_maybe_uninit::raw

Trait Primitive

Source
pub trait Primitive: PrimitivePriv { }
Expand description

Primitive types that may support atomic operations.

This trait is sealed and cannot be implemented for types outside of atomic-maybe-uninit.

Currently this is implemented only for integer 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 Primitive for i8

Source§

impl Primitive for i16

Source§

impl Primitive for i32

Source§

impl Primitive for i64

Source§

impl Primitive for i128

Source§

impl Primitive for isize

Source§

impl Primitive for u8

Source§

impl Primitive for u16

Source§

impl Primitive for u32

Source§

impl Primitive for u64

Source§

impl Primitive for u128

Source§

impl Primitive for usize

Implementors§