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>
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)
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
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> 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,
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
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,
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
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>
Sourceยงfn partial_cmp(&self, other: &DiscriminantOrd<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &DiscriminantOrd<T>) -> Option<Ordering>
1.0.0 (const: unstable) ยท Sourceยงfn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
1.0.0 (const: unstable) ยท Sourceยงfn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
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ยง
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