pub struct Lexicographic<T>(/* private fields */);Trait Implementations§
Source§impl<T: Clone> Clone for Lexicographic<T>
impl<T: Clone> Clone for Lexicographic<T>
impl<T: Copy> Copy for Lexicographic<T>
Source§impl<T: Debug> Debug for Lexicographic<T>
impl<T: Debug> Debug for Lexicographic<T>
Source§impl<T: Default> Default for Lexicographic<T>
impl<T: Default> Default for Lexicographic<T>
impl<T: Eq> Eq for Lexicographic<T>
Source§impl<T: Hash> Hash for Lexicographic<T>
impl<T: Hash> Hash for Lexicographic<T>
Source§impl<T: LexicographicOrd> Ord for Lexicographic<T>
impl<T: LexicographicOrd> Ord for Lexicographic<T>
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<T: PartialEq> PartialEq for Lexicographic<T>
impl<T: PartialEq> PartialEq for Lexicographic<T>
Source§impl<T: LexicographicOrd> PartialOrd for Lexicographic<T>
impl<T: LexicographicOrd> PartialOrd for Lexicographic<T>
impl<T: PartialEq> StructuralPartialEq for Lexicographic<T>
Auto Trait Implementations§
impl<T> Freeze for Lexicographic<T>where
T: Freeze,
impl<T> RefUnwindSafe for Lexicographic<T>where
T: RefUnwindSafe,
impl<T> Send for Lexicographic<T>where
T: Send,
impl<T> Sync for Lexicographic<T>where
T: Sync,
impl<T> Unpin for Lexicographic<T>where
T: Unpin,
impl<T> UnsafeUnpin for Lexicographic<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Lexicographic<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.