Method lrs::atomic::AtomicU32::and

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

Syntax

impl AtomicU32 {
    fn and(&self, val: u32) -> u32
}

Arguments

NameDescription
val

The value that will be binarily added to the integer.

Return value

Returns the old value.