Struct loom::sync::atomic::AtomicI32 [−][src]
pub struct AtomicI32(_);Expand description
Mock implementation of std::sync::atomic::AtomicI32.
Implementations
Get access to a mutable reference to the inner value.
Load the value without any synchronization.
Stores a value into the atomic integer, returning the previous value.
Stores a value into the atomic integer if the current value is the same as the current value.
Stores a value into the atomic if the current value is the same as the current value.
Stores a value into the atomic if the current value is the same as the current value.
Adds to the current value, returning the previous value.
Subtracts from the current value, returning the previous value.
Bitwise “nand” with the current value.
Stores the maximum of the current and provided value, returning the previous value
Stores the minimum of the current and provided value, returning the previous value
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AtomicI32
impl UnwindSafe for AtomicI32
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more