#[repr(C)]pub struct atomic<_Tp> {
pub _M_i: _Tp,
pub _phantom_0: PhantomData<UnsafeCell<_Tp>>,
}
Fields§
§_M_i: _Tp
§_phantom_0: PhantomData<UnsafeCell<_Tp>>
Trait Implementations§
Auto Trait Implementations§
impl<_Tp> Freeze for atomic<_Tp>where
_Tp: Freeze,
impl<_Tp> !RefUnwindSafe for atomic<_Tp>
impl<_Tp> Send for atomic<_Tp>where
_Tp: Send,
impl<_Tp> !Sync for atomic<_Tp>
impl<_Tp> Unpin for atomic<_Tp>where
_Tp: Unpin,
impl<_Tp> UnwindSafe for atomic<_Tp>where
_Tp: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more