pub struct WithDrop<K: DropKind>(/* private fields */);Expand description
A type whose drop glue is required, classified by its source.
Trait Implementations§
Auto Trait Implementations§
impl<K> Freeze for WithDrop<K>where
PhantomData<K>: Freeze,
impl<K> RefUnwindSafe for WithDrop<K>where
PhantomData<K>: RefUnwindSafe,
impl<K> Send for WithDrop<K>where
PhantomData<K>: Send,
impl<K> Sync for WithDrop<K>where
PhantomData<K>: Sync,
impl<K> Unpin for WithDrop<K>where
PhantomData<K>: Unpin,
impl<K> UnsafeUnpin for WithDrop<K>where
PhantomData<K>: UnsafeUnpin,
impl<K> UnwindSafe for WithDrop<K>where
PhantomData<K>: 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