pub struct DiscriminantOrd<T>(/* private fields */);🔬This is a nightly-only experimental API. (
discriminant_ord)Expand description
Implementation detail for Discriminant::ord.
Trait Implementations§
Source§impl<T> Clone for DiscriminantOrd<T>
impl<T> Clone for DiscriminantOrd<T>
Source§fn clone(&self) -> DiscriminantOrd<T>
fn clone(&self) -> DiscriminantOrd<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<T> Copy for DiscriminantOrd<T>
Source§impl<T> Debug for DiscriminantOrd<T>
impl<T> Debug for DiscriminantOrd<T>
impl<T> Eq for DiscriminantOrd<T>
Source§impl<T> Hash for DiscriminantOrd<T>
impl<T> Hash for DiscriminantOrd<T>
Source§impl<T> Ord for DiscriminantOrd<T>
impl<T> Ord for DiscriminantOrd<T>
Source§fn cmp(&self, other: &DiscriminantOrd<T>) -> Ordering
fn cmp(&self, other: &DiscriminantOrd<T>) -> Ordering
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 for DiscriminantOrd<T>
impl<T> PartialEq for DiscriminantOrd<T>
Source§impl<T> PartialOrd for DiscriminantOrd<T>
impl<T> PartialOrd for DiscriminantOrd<T>
Auto Trait Implementations§
impl<T> Forget for DiscriminantOrd<T>
impl<T> Freeze for DiscriminantOrd<T>
impl<T> Move for DiscriminantOrd<T>
impl<T> RefUnwindSafe for DiscriminantOrd<T>
impl<T> Send for DiscriminantOrd<T>
impl<T> Sync for DiscriminantOrd<T>
impl<T> Unpin for DiscriminantOrd<T>
impl<T> UnsafeUnpin for DiscriminantOrd<T>
impl<T> UnwindSafe for DiscriminantOrd<T>
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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§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.