Method lrs::atomic::AtomicUsize::xor

Performs a binary xor operation on the atomic integer with sequentially consistent semantics.

Syntax

impl AtomicUsize {
    fn xor(&self, val: usize) -> usize
}

Arguments

NameDescription
val

The value that will be binarily xor'd to the integer.

Return value

Returns the old value.