Method lrs::atomic::AtomicI32::or

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

Syntax

impl AtomicI32 {
    fn or(&self, val: i32) -> i32
}

Arguments

NameDescription
val

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

Return value

Returns the old value.