pub struct DropMoveWrapper<T: DropMove>(/* private fields */);
Expand description
Implementations§
Source§impl<T: DropMove> DropMoveWrapper<T>
impl<T: DropMove> DropMoveWrapper<T>
Sourcepub fn into_inner(self_: Self) -> T
pub fn into_inner(self_: Self) -> T
Convert into the inner structure T
.
This is an associated function so that will not conflict with any methods of the inner type,
which are accessible through Deref
.
Trait Implementations§
Source§impl<T: Clone + DropMove> Clone for DropMoveWrapper<T>
impl<T: Clone + DropMove> Clone for DropMoveWrapper<T>
Source§fn clone(&self) -> DropMoveWrapper<T>
fn clone(&self) -> DropMoveWrapper<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Default + DropMove> Default for DropMoveWrapper<T>
impl<T: Default + DropMove> Default for DropMoveWrapper<T>
Source§fn default() -> DropMoveWrapper<T>
fn default() -> DropMoveWrapper<T>
Returns the “default value” for a type. Read more
Source§impl<T: DropMove> Deref for DropMoveWrapper<T>
impl<T: DropMove> Deref for DropMoveWrapper<T>
Source§impl<T: DropMove> DerefMut for DropMoveWrapper<T>
impl<T: DropMove> DerefMut for DropMoveWrapper<T>
Source§impl<T: DropMove> Drop for DropMoveWrapper<T>
impl<T: DropMove> Drop for DropMoveWrapper<T>
Source§impl<T: Ord + DropMove> Ord for DropMoveWrapper<T>
impl<T: Ord + DropMove> Ord for DropMoveWrapper<T>
Source§fn cmp(&self, other: &DropMoveWrapper<T>) -> Ordering
fn cmp(&self, other: &DropMoveWrapper<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd + DropMove> PartialOrd for DropMoveWrapper<T>
impl<T: PartialOrd + DropMove> PartialOrd for DropMoveWrapper<T>
impl<T: Eq + DropMove> Eq for DropMoveWrapper<T>
impl<T: DropMove> StructuralPartialEq for DropMoveWrapper<T>
Auto Trait Implementations§
impl<T> Freeze for DropMoveWrapper<T>where
T: Freeze,
impl<T> RefUnwindSafe for DropMoveWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for DropMoveWrapper<T>where
T: Send,
impl<T> Sync for DropMoveWrapper<T>where
T: Sync,
impl<T> Unpin for DropMoveWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for DropMoveWrapper<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