pub struct DiscriminantOrd<T>(/* private fields */);๐ฌThis is a nightly-only experimental API. (
discriminant_ord #165438)Expand description
Implementation detail for Discriminant::ord.
Trait Implementationsยง
Sourceยงimpl<T> Clone for DiscriminantOrd<T>
impl<T> Clone for DiscriminantOrd<T>
impl<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>
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> 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ยง
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