Method lrs::atomic::AtomicU16::xor

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

Syntax

impl AtomicU16 {
    fn xor(&self, val: u16) -> u16
}

Arguments

NameDescription
val

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

Return value

Returns the old value.