[][src]Trait atomic_traits::fetch::Nand

pub trait Nand {
    type Type;
    fn fetch_nand(&self, val: Self::Type, order: Ordering) -> Self::Type;
}

Bitwise "nand" with the current value.

Associated Types

type Type

The underlying type

Loading content...

Required methods

fn fetch_nand(&self, val: Self::Type, order: Ordering) -> Self::Type

Bitwise "nand" with the current value.

Performs a bitwise "nand" operation on the current value and the argument val, and sets the new value to the result.

Returns the previous value.

Loading content...

Implementations on Foreign Types

impl Nand for AtomicBool[src]

type Type = bool

impl Nand for AtomicIsize[src]

type Type = isize

impl Nand for AtomicUsize[src]

type Type = usize

impl Nand for AtomicI8[src]

type Type = i8

impl Nand for AtomicI16[src]

type Type = i16

impl Nand for AtomicI32[src]

type Type = i32

impl Nand for AtomicI64[src]

type Type = i64

impl Nand for AtomicU8[src]

type Type = u8

impl Nand for AtomicU16[src]

type Type = u16

impl Nand for AtomicU32[src]

type Type = u32

impl Nand for AtomicU64[src]

type Type = u64

Loading content...

Implementors

Loading content...