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 i8
Available on target_has_atomic=8 and target_has_atomic_equal_alignment=8 only.
impl Atomic for i8
Available on
target_has_atomic=8 and target_has_atomic_equal_alignment=8 only.Source§impl Atomic for i16
Available on target_has_atomic=16 and target_has_atomic_equal_alignment=16 only.
impl Atomic for i16
Available on
target_has_atomic=16 and target_has_atomic_equal_alignment=16 only.Source§impl Atomic for i32
Available on target_has_atomic=32 and target_has_atomic_equal_alignment=32 only.
impl Atomic for i32
Available on
target_has_atomic=32 and target_has_atomic_equal_alignment=32 only.Source§impl Atomic for i64
Available on target_has_atomic=64 and target_has_atomic_equal_alignment=64 only.
impl Atomic for i64
Available on
target_has_atomic=64 and target_has_atomic_equal_alignment=64 only.Source§impl Atomic for isize
Available on target_has_atomic=64 and target_has_atomic_equal_alignment=64 only.
impl Atomic for isize
Available on
target_has_atomic=64 and target_has_atomic_equal_alignment=64 only.Source§impl Atomic for u8
Available on target_has_atomic=8 and target_has_atomic_equal_alignment=8 only.
impl Atomic for u8
Available on
target_has_atomic=8 and target_has_atomic_equal_alignment=8 only.Source§impl Atomic for u16
Available on target_has_atomic=16 and target_has_atomic_equal_alignment=16 only.
impl Atomic for u16
Available on
target_has_atomic=16 and target_has_atomic_equal_alignment=16 only.Source§impl Atomic for u32
Available on target_has_atomic=32 and target_has_atomic_equal_alignment=32 only.
impl Atomic for u32
Available on
target_has_atomic=32 and target_has_atomic_equal_alignment=32 only.Source§impl Atomic for u64
Available on target_has_atomic=64 and target_has_atomic_equal_alignment=64 only.
impl Atomic for u64
Available on
target_has_atomic=64 and target_has_atomic_equal_alignment=64 only.Source§impl Atomic for usize
Available on target_has_atomic=64 and target_has_atomic_equal_alignment=64 only.
impl Atomic for usize
Available on
target_has_atomic=64 and target_has_atomic_equal_alignment=64 only.