#[repr(transparent)]pub(crate) struct NoDrop<T: ?Sized>(ManuallyDrop<T>);
Tuple Fields§
§0: ManuallyDrop<T>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for NoDrop<T>
impl<T> RefUnwindSafe for NoDrop<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for NoDrop<T>
impl<T> Sync for NoDrop<T>
impl<T> Unpin for NoDrop<T>
impl<T> UnwindSafe for NoDrop<T>where
T: UnwindSafe + ?Sized,
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