pub struct SharedMemory(/* private fields */);
Trait Implementations§
type Value = <T as Atomic>::Value
unsafe fn atomic_store(dst: *mut T, val: Self::Value, order: Ordering)
unsafe fn atomic_load(dst: *const T, order: Ordering) -> Self::Value
unsafe fn atomic_swap( dst: *mut T, val: Self::Value, order: Ordering, ) -> Self::Value
unsafe fn atomic_add( dst: *mut T, val: Self::Value, order: Ordering, ) -> Self::Value
unsafe fn atomic_sub( dst: *mut T, val: Self::Value, order: Ordering, ) -> Self::Value
unsafe fn atomic_compare_exchange( dst: *mut T, old: Self::Value, new: Self::Value, success: Ordering, failure: Ordering, ) -> Result<Self::Value, Self::Value>
unsafe fn atomic_compare_exchange_weak( dst: *mut T, old: Self::Value, new: Self::Value, success: Ordering, failure: Ordering, ) -> Result<Self::Value, Self::Value>
unsafe fn atomic_and( dst: *mut T, val: Self::Value, order: Ordering, ) -> Self::Value
unsafe fn atomic_nand( dst: *mut T, val: Self::Value, order: Ordering, ) -> Self::Value
unsafe fn atomic_or( dst: *mut T, val: Self::Value, order: Ordering, ) -> Self::Value
unsafe fn atomic_xor( dst: *mut T, val: Self::Value, order: Ordering, ) -> Self::Value
unsafe fn atomic_max( dst: *mut T, val: Self::Value, order: Ordering, ) -> Self::Value
unsafe fn atomic_min( dst: *mut T, val: Self::Value, order: Ordering, ) -> Self::Value
Auto Trait Implementations§
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more