Method lrs::atomic::AtomicI8::add

Adds a value to the atomic integer with sequentially consistent semantics.

Syntax

impl AtomicI8 {
    fn add(&self, val: i8) -> i8
}

Arguments

NameDescription
val

The value to be added to the integer.

Return value

Returns the old value.