[][src]Trait atomic_traits::fetch::Xor

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

Bitwise "xor" with the current value.

Associated Types

type Type

The underlying type

Loading content...

Required methods

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

Bitwise "xor" with the current value.

Performs a bitwise "xor" 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 Xor for AtomicBool[src]

type Type = bool

impl Xor for AtomicIsize[src]

type Type = isize

impl Xor for AtomicUsize[src]

type Type = usize

impl Xor for AtomicI8[src]

type Type = i8

impl Xor for AtomicI16[src]

type Type = i16

impl Xor for AtomicI32[src]

type Type = i32

impl Xor for AtomicI64[src]

type Type = i64

impl Xor for AtomicU8[src]

type Type = u8

impl Xor for AtomicU16[src]

type Type = u16

impl Xor for AtomicU32[src]

type Type = u32

impl Xor for AtomicU64[src]

type Type = u64

Loading content...

Implementors

Loading content...