Skip to main content

Bitwise

Trait Bitwise 

Source
pub trait Bitwise:
    Atomic
    + And<Type = Self::Type>
    + Nand<Type = Self::Type>
    + Or<Type = Self::Type>
    + Xor<Type = Self::Type> { }
Expand description

The trait for types implementing atomic bitwise operations

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Bitwise for Atomic<bool>

Source§

impl Bitwise for Atomic<i8>

Source§

impl Bitwise for Atomic<i16>

Source§

impl Bitwise for Atomic<i32>

Source§

impl Bitwise for Atomic<i64>

Source§

impl Bitwise for Atomic<isize>

Source§

impl Bitwise for Atomic<u8>

Source§

impl Bitwise for Atomic<u16>

Source§

impl Bitwise for Atomic<u32>

Source§

impl Bitwise for Atomic<u64>

Source§

impl Bitwise for Atomic<usize>

Implementors§

Source§

impl<T> Bitwise for AtomicNumber<T>
where T: PrimitiveAtomicNumber + FromPrimitive,