pub trait AtomicInt {
// Required methods
unsafe fn global_red_min(&mut self, rhs: Self);
unsafe fn global_atomic_exch(&mut self, val: Self) -> Self;
unsafe fn global_atomic_cas(&mut self, cmp: Self, val: Self) -> Self;
unsafe fn shared_atomic_exch_acq(&mut self, val: Self) -> Self;
unsafe fn shared_atomic_exch_rel(&mut self, val: Self) -> Self;
unsafe fn global_atomic_dec(&mut self) -> Self;
}Required Methods§
unsafe fn global_red_min(&mut self, rhs: Self)
unsafe fn global_atomic_exch(&mut self, val: Self) -> Self
unsafe fn global_atomic_cas(&mut self, cmp: Self, val: Self) -> Self
unsafe fn global_atomic_dec(&mut self) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.