Method lrs::atomic::AtomicU64::and

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

Syntax

impl AtomicU64 {
    fn and(&self, val: u64) -> u64
}

Arguments

NameDescription
val

The value that will be binarily added to the integer.

Return value

Returns the old value.