pub struct ManuallyDrop<T: TrackDrop>(pub T);Tuple Fields§
§0: TImplementations§
Source§impl<T: TrackDrop> ManuallyDrop<T>
impl<T: TrackDrop> ManuallyDrop<T>
Trait Implementations§
Source§impl<T: TrackDrop> Deref for ManuallyDrop<T>
impl<T: TrackDrop> Deref for ManuallyDrop<T>
Auto Trait Implementations§
impl<T> Freeze for ManuallyDrop<T>where
T: Freeze,
impl<T> RefUnwindSafe for ManuallyDrop<T>where
T: RefUnwindSafe,
impl<T> Send for ManuallyDrop<T>where
T: Send,
impl<T> Sync for ManuallyDrop<T>where
T: Sync,
impl<T> Unpin for ManuallyDrop<T>where
T: Unpin,
impl<T> UnsafeUnpin for ManuallyDrop<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ManuallyDrop<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> DerefSpec for Twhere
T: Deref,
impl<T> DerefSpec for Twhere
T: Deref,
Source§uninterp fn deref_spec(&self) -> &<T as Deref>::Target
👎Deprecated: If you can, do not use this module as it adds assumptions about the core of Rust’s deref semantics.
uninterp fn deref_spec(&self) -> &<T as Deref>::Target
Source§proof fn deref_spec_eq(&self)
👎Deprecated: If you can, do not use this module as it adds assumptions about the core of Rust’s deref semantics.
proof fn deref_spec_eq(&self)
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