pub struct UnwrapOrd<T: PartialOrd + PartialEq>(pub T);
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T: PartialOrd + PartialEq> Ord for UnwrapOrd<T>
impl<T: PartialOrd + PartialEq> Ord for UnwrapOrd<T>
Source§impl<T: PartialOrd + PartialEq> PartialOrd for UnwrapOrd<T>
impl<T: PartialOrd + PartialEq> PartialOrd for UnwrapOrd<T>
impl<T: PartialOrd + PartialEq> Eq for UnwrapOrd<T>
impl<T: PartialOrd + PartialEq> StructuralPartialEq for UnwrapOrd<T>
Auto Trait Implementations§
impl<T> Freeze for UnwrapOrd<T>where
T: Freeze,
impl<T> RefUnwindSafe for UnwrapOrd<T>where
T: RefUnwindSafe,
impl<T> Send for UnwrapOrd<T>where
T: Send,
impl<T> Sync for UnwrapOrd<T>where
T: Sync,
impl<T> Unpin for UnwrapOrd<T>where
T: Unpin,
impl<T> UnwindSafe for UnwrapOrd<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