num_cmp

Trait NumCmp

Source
pub trait NumCmp<Other: Copy>: Copy {
    // Required methods
    fn num_cmp(self, other: Other) -> Option<Ordering>;
    fn num_eq(self, other: Other) -> bool;
    fn num_ne(self, other: Other) -> bool;
    fn num_lt(self, other: Other) -> bool;
    fn num_gt(self, other: Other) -> bool;
    fn num_le(self, other: Other) -> bool;
    fn num_ge(self, other: Other) -> bool;
}
Expand description

A trait for comparison between differently typed numbers.

This trait is implemented for every pair of integer and floating-point types available, including isize, usize and also (when the i128 feature is enabled) i128 and u128.

Required Methods§

Source

fn num_cmp(self, other: Other) -> Option<Ordering>

Same to self.partial_cmp(&other) but can be used for different numeric types for self and other.

Source

fn num_eq(self, other: Other) -> bool

Same to self == other but can be used for different numeric types for self and other.

Source

fn num_ne(self, other: Other) -> bool

Same to self != other but can be used for different numeric types for self and other.

Source

fn num_lt(self, other: Other) -> bool

Same to self < other but can be used for different numeric types for self and other.

Source

fn num_gt(self, other: Other) -> bool

Same to self > other but can be used for different numeric types for self and other.

Source

fn num_le(self, other: Other) -> bool

Same to self <= other but can be used for different numeric types for self and other.

Source

fn num_ge(self, other: Other) -> bool

Same to self >= other but can be used for different numeric types for self and other.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl NumCmp<f32> for f32

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f32> for f64

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f32> for i8

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f32> for i16

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f32> for i32

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f32> for i64

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f32> for isize

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f32> for u8

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f32> for u16

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f32> for u32

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f32> for u64

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f32> for usize

Source§

fn num_cmp(self, other: f32) -> Option<Ordering>

Source§

fn num_eq(self, other: f32) -> bool

Source§

fn num_ne(self, other: f32) -> bool

Source§

fn num_lt(self, other: f32) -> bool

Source§

fn num_gt(self, other: f32) -> bool

Source§

fn num_le(self, other: f32) -> bool

Source§

fn num_ge(self, other: f32) -> bool

Source§

impl NumCmp<f64> for f32

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<f64> for f64

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<f64> for i8

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<f64> for i16

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<f64> for i32

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<f64> for i64

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<f64> for isize

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<f64> for u8

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<f64> for u16

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<f64> for u32

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<f64> for u64

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<f64> for usize

Source§

fn num_cmp(self, other: f64) -> Option<Ordering>

Source§

fn num_eq(self, other: f64) -> bool

Source§

fn num_ne(self, other: f64) -> bool

Source§

fn num_lt(self, other: f64) -> bool

Source§

fn num_gt(self, other: f64) -> bool

Source§

fn num_le(self, other: f64) -> bool

Source§

fn num_ge(self, other: f64) -> bool

Source§

impl NumCmp<i8> for f32

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i8> for f64

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i8> for i8

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i8> for i16

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i8> for i32

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i8> for i64

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i8> for isize

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i8> for u8

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i8> for u16

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i8> for u32

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i8> for u64

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i8> for usize

Source§

fn num_cmp(self, other: i8) -> Option<Ordering>

Source§

fn num_eq(self, other: i8) -> bool

Source§

fn num_ne(self, other: i8) -> bool

Source§

fn num_lt(self, other: i8) -> bool

Source§

fn num_gt(self, other: i8) -> bool

Source§

fn num_le(self, other: i8) -> bool

Source§

fn num_ge(self, other: i8) -> bool

Source§

impl NumCmp<i16> for f32

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i16> for f64

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i16> for i8

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i16> for i16

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i16> for i32

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i16> for i64

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i16> for isize

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i16> for u8

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i16> for u16

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i16> for u32

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i16> for u64

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i16> for usize

Source§

fn num_cmp(self, other: i16) -> Option<Ordering>

Source§

fn num_eq(self, other: i16) -> bool

Source§

fn num_ne(self, other: i16) -> bool

Source§

fn num_lt(self, other: i16) -> bool

Source§

fn num_gt(self, other: i16) -> bool

Source§

fn num_le(self, other: i16) -> bool

Source§

fn num_ge(self, other: i16) -> bool

Source§

impl NumCmp<i32> for f32

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i32> for f64

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i32> for i8

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i32> for i16

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i32> for i32

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i32> for i64

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i32> for isize

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i32> for u8

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i32> for u16

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i32> for u32

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i32> for u64

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i32> for usize

Source§

fn num_cmp(self, other: i32) -> Option<Ordering>

Source§

fn num_eq(self, other: i32) -> bool

Source§

fn num_ne(self, other: i32) -> bool

Source§

fn num_lt(self, other: i32) -> bool

Source§

fn num_gt(self, other: i32) -> bool

Source§

fn num_le(self, other: i32) -> bool

Source§

fn num_ge(self, other: i32) -> bool

Source§

impl NumCmp<i64> for f32

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<i64> for f64

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<i64> for i8

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<i64> for i16

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<i64> for i32

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<i64> for i64

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<i64> for isize

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<i64> for u8

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<i64> for u16

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<i64> for u32

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<i64> for u64

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<i64> for usize

Source§

fn num_cmp(self, other: i64) -> Option<Ordering>

Source§

fn num_eq(self, other: i64) -> bool

Source§

fn num_ne(self, other: i64) -> bool

Source§

fn num_lt(self, other: i64) -> bool

Source§

fn num_gt(self, other: i64) -> bool

Source§

fn num_le(self, other: i64) -> bool

Source§

fn num_ge(self, other: i64) -> bool

Source§

impl NumCmp<isize> for f32

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<isize> for f64

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<isize> for i8

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<isize> for i16

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<isize> for i32

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<isize> for i64

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<isize> for isize

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<isize> for u8

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<isize> for u16

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<isize> for u32

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<isize> for u64

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<isize> for usize

Source§

fn num_cmp(self, other: isize) -> Option<Ordering>

Source§

fn num_eq(self, other: isize) -> bool

Source§

fn num_ne(self, other: isize) -> bool

Source§

fn num_lt(self, other: isize) -> bool

Source§

fn num_gt(self, other: isize) -> bool

Source§

fn num_le(self, other: isize) -> bool

Source§

fn num_ge(self, other: isize) -> bool

Source§

impl NumCmp<u8> for f32

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u8> for f64

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u8> for i8

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u8> for i16

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u8> for i32

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u8> for i64

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u8> for isize

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u8> for u8

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u8> for u16

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u8> for u32

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u8> for u64

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u8> for usize

Source§

fn num_cmp(self, other: u8) -> Option<Ordering>

Source§

fn num_eq(self, other: u8) -> bool

Source§

fn num_ne(self, other: u8) -> bool

Source§

fn num_lt(self, other: u8) -> bool

Source§

fn num_gt(self, other: u8) -> bool

Source§

fn num_le(self, other: u8) -> bool

Source§

fn num_ge(self, other: u8) -> bool

Source§

impl NumCmp<u16> for f32

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u16> for f64

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u16> for i8

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u16> for i16

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u16> for i32

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u16> for i64

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u16> for isize

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u16> for u8

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u16> for u16

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u16> for u32

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u16> for u64

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u16> for usize

Source§

fn num_cmp(self, other: u16) -> Option<Ordering>

Source§

fn num_eq(self, other: u16) -> bool

Source§

fn num_ne(self, other: u16) -> bool

Source§

fn num_lt(self, other: u16) -> bool

Source§

fn num_gt(self, other: u16) -> bool

Source§

fn num_le(self, other: u16) -> bool

Source§

fn num_ge(self, other: u16) -> bool

Source§

impl NumCmp<u32> for f32

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u32> for f64

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u32> for i8

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u32> for i16

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u32> for i32

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u32> for i64

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u32> for isize

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u32> for u8

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u32> for u16

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u32> for u32

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u32> for u64

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u32> for usize

Source§

fn num_cmp(self, other: u32) -> Option<Ordering>

Source§

fn num_eq(self, other: u32) -> bool

Source§

fn num_ne(self, other: u32) -> bool

Source§

fn num_lt(self, other: u32) -> bool

Source§

fn num_gt(self, other: u32) -> bool

Source§

fn num_le(self, other: u32) -> bool

Source§

fn num_ge(self, other: u32) -> bool

Source§

impl NumCmp<u64> for f32

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<u64> for f64

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<u64> for i8

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<u64> for i16

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<u64> for i32

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<u64> for i64

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<u64> for isize

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<u64> for u8

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<u64> for u16

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<u64> for u32

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<u64> for u64

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<u64> for usize

Source§

fn num_cmp(self, other: u64) -> Option<Ordering>

Source§

fn num_eq(self, other: u64) -> bool

Source§

fn num_ne(self, other: u64) -> bool

Source§

fn num_lt(self, other: u64) -> bool

Source§

fn num_gt(self, other: u64) -> bool

Source§

fn num_le(self, other: u64) -> bool

Source§

fn num_ge(self, other: u64) -> bool

Source§

impl NumCmp<usize> for f32

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Source§

impl NumCmp<usize> for f64

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Source§

impl NumCmp<usize> for i8

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Source§

impl NumCmp<usize> for i16

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Source§

impl NumCmp<usize> for i32

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Source§

impl NumCmp<usize> for i64

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Source§

impl NumCmp<usize> for isize

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Source§

impl NumCmp<usize> for u8

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Source§

impl NumCmp<usize> for u16

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Source§

impl NumCmp<usize> for u32

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Source§

impl NumCmp<usize> for u64

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Source§

impl NumCmp<usize> for usize

Source§

fn num_cmp(self, other: usize) -> Option<Ordering>

Source§

fn num_eq(self, other: usize) -> bool

Source§

fn num_ne(self, other: usize) -> bool

Source§

fn num_lt(self, other: usize) -> bool

Source§

fn num_gt(self, other: usize) -> bool

Source§

fn num_le(self, other: usize) -> bool

Source§

fn num_ge(self, other: usize) -> bool

Implementors§