Available on crate feature
cmp
only.Expand description
Functions
- clamp_fsize32-bit or 64-bit
- Compares and returns a clamped
i8
betweenmin
andmax
. - Compares and returns a clamped
i16
betweenmin
andmax
. - Compares and returns a clamped
i32
betweenmin
andmax
. - Compares and returns a clamped
i64
betweenmin
andmax
. - Compares and returns a clamped
i128
betweenmin
andmax
. - Compares and returns a clamped
isize
betweenmin
andmax
. - Compares and returns a clamped
u8
betweenmin
andmax
. - Compares and returns a clamped
u16
betweenmin
andmax
. - Compares and returns a clamped
u32
betweenmin
andmax
. - Compares and returns a clamped
u64
betweenmin
andmax
. - Compares and returns a clamped
u128
betweenmin
andmax
. - Compares and returns a clamped
usize
betweenmin
andmax
. - Compares and returns the maximum of two
f32
values using total ordering. - Compares and returns the maximum of two
f64
values using total ordering. - max_fsize32-bit or 64-bitCompares and returns the maximum of two
fsize
values using total ordering. - Compares and returns the maximum of two
i8
values. - Compares and returns the maximum of two
i16
values. - Compares and returns the maximum of two
i32
values. - Compares and returns the maximum of two
i64
values. - Compares and returns the maximum of two
i128
values. - Compares and returns the maximum of two
isize
values. - Compares and returns the maximum of two
u8
values. - Compares and returns the maximum of two
u16
values. - Compares and returns the maximum of two
u32
values. - Compares and returns the maximum of two
u64
values. - Compares and returns the maximum of two
u128
values. - Compares and returns the maximum of two
usize
values. - Compares and returns the minimum of two
f32
values using total ordering. - Compares and returns the minimum of two
f64
values using total ordering. - min_fsize32-bit or 64-bitCompares and returns the minimum of two
fsize
values using total ordering. - Compares and returns the minimum of two
i8
values. - Compares and returns the minimum of two
i16
values. - Compares and returns the minimum of two
i32
values. - Compares and returns the minimum of two
i64
values. - Compares and returns the minimum of two
i128
values. - Compares and returns the minimum of two
isize
values. - Compares and returns the minimum of two
u8
values. - Compares and returns the minimum of two
u16
values. - Compares and returns the minimum of two
u32
values. - Compares and returns the minimum of two
u64
values. - Compares and returns the minimum of two
u128
values. - Compares and returns the minimum of two
usize
values. - Compares and returns the maximum of two
PartialOrd
ered values. - Compares and returns the minimum of two
PartialOrd
ered values. - total_cmp_fsize32-bit or 64-bitA pointer-sized redirect to
total_cmp_f[32|64]
.