Method lrs::atomic::AtomicU8::xor_weak

Performs a binary xor operation on the atomic integer with relaxed ordering guarantees.

Syntax

impl AtomicU8 {
    fn xor_weak(&self, val: u8) -> u8
}

Arguments

NameDescription
val

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

Return value

Returns the old value.