pub trait AtomicAdd {
// Required methods
unsafe fn shared_red_add(&mut self, rhs: Self);
unsafe fn global_red_add(&mut self, rhs: Self);
unsafe fn global_atomic_add(&mut self, rhs: Self) -> Self;
}Required Methods§
unsafe fn global_red_add(&mut self, rhs: Self)
unsafe fn global_atomic_add(&mut self, rhs: 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.