#[repr(C)]pub struct std_atomic<_Tp> {
pub _phantom_0: PhantomData<UnsafeCell<_Tp>>,
pub _address: u8,
}Fields§
§_phantom_0: PhantomData<UnsafeCell<_Tp>>§_address: u8Trait Implementations§
Source§impl<_Tp: Clone> Clone for std_atomic<_Tp>
impl<_Tp: Clone> Clone for std_atomic<_Tp>
Source§fn clone(&self) -> std_atomic<_Tp>
fn clone(&self) -> std_atomic<_Tp>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<_Tp: Copy> Copy for std_atomic<_Tp>
Auto Trait Implementations§
impl<_Tp> !RefUnwindSafe for std_atomic<_Tp>
impl<_Tp> !Sync for std_atomic<_Tp>
impl<_Tp> Freeze for std_atomic<_Tp>
impl<_Tp> Send for std_atomic<_Tp>where
_Tp: Send,
impl<_Tp> Unpin for std_atomic<_Tp>where
_Tp: Unpin,
impl<_Tp> UnsafeUnpin for std_atomic<_Tp>
impl<_Tp> UnwindSafe for std_atomic<_Tp>where
_Tp: UnwindSafe,
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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)