pub enum Relation {
Less,
Equal,
Greater,
Unordered,
}Expand description
Numeric ordering, including unordered comparisons with NaNs.
Variants§
Less
The first operand is smaller.
Equal
Both operands have the same numeric value.
Greater
The first operand is larger.
Unordered
At least one operand is NaN.
Trait Implementations§
impl Copy for Relation
impl Eq for Relation
impl StructuralPartialEq for Relation
Auto Trait Implementations§
impl Forget for Relation
impl Freeze for Relation
impl Move for Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnsafeUnpin for Relation
impl UnwindSafe for Relation
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