pub enum MayDrop {}Expand description
When picking this, [crate::Unsafe] will run the drop glue of the
inner value (if any) on Drop; this in turn requires its constructor
to be unsafe (unless Copy).
Trait Implementations§
impl DropMarkerKind for MayDrop
Auto Trait Implementations§
impl Freeze for MayDrop
impl RefUnwindSafe for MayDrop
impl Send for MayDrop
impl Sync for MayDrop
impl Unpin for MayDrop
impl UnwindSafe for MayDrop
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