pub struct AtomicDestroy<T> { /* private fields */ }Expand description
An atomically destroyable value.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for AtomicDestroy<T>
impl<T: Clone> Clone for AtomicDestroy<T>
Source§impl<T: Debug> Debug for AtomicDestroy<T>
impl<T: Debug> Debug for AtomicDestroy<T>
Source§impl<T> Drop for AtomicDestroy<T>
impl<T> Drop for AtomicDestroy<T>
impl<T: Send + Sync> Send for AtomicDestroy<T>
impl<T: Send + Sync> Sync for AtomicDestroy<T>
Auto Trait Implementations§
impl<T> !Freeze for AtomicDestroy<T>
impl<T> !RefUnwindSafe for AtomicDestroy<T>
impl<T> Unpin for AtomicDestroy<T>where
T: Unpin,
impl<T> UnwindSafe for AtomicDestroy<T>where
T: 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