Method lrs::atomic::AtomicI16::and_weak

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

Syntax

impl AtomicI16 {
    fn and_weak(&self, val: i16) -> i16
}

Arguments

NameDescription
val

The value that will be binarily added to the integer.

Return value

Returns the old value.