Expand description
const fns for comparing primitive types for equality and ordering.
Functionsยง
- Compares two
bool, returning the ordering ofleftrelative toright. - Compares two
char, returning the ordering ofleftrelative toright. - Compares two
i8, returning the ordering ofleftrelative toright. - Compares two
i16, returning the ordering ofleftrelative toright. - Compares two
i32, returning the ordering ofleftrelative toright. - Compares two
i64, returning the ordering ofleftrelative toright. - Compares two
i128, returning the ordering ofleftrelative toright. - Compares two
isize, returning the ordering ofleftrelative toright. - Compares two
Option<bool>, returning the ordering ofleftrelative toright. - Compares two
Option<char>, returning the ordering ofleftrelative toright. - Compares two
Option<i8>, returning the ordering ofleftrelative toright. - Compares two
Option<i16>, returning the ordering ofleftrelative toright. - Compares two
Option<i32>, returning the ordering ofleftrelative toright. - Compares two
Option<i64>, returning the ordering ofleftrelative toright. - Compares two
Option<i128>, returning the ordering ofleftrelative toright. - Compares two
Option<isize>, returning the ordering ofleftrelative toright. - Compares two
Option<u8>, returning the ordering ofleftrelative toright. - Compares two
Option<u16>, returning the ordering ofleftrelative toright. - Compares two
Option<u32>, returning the ordering ofleftrelative toright. - Compares two
Option<u64>, returning the ordering ofleftrelative toright. - Compares two
Option<u128>, returning the ordering ofleftrelative toright. - Compares two
Option<usize>, returning the ordering ofleftrelative toright. - Compares two
u8, returning the ordering ofleftrelative toright. - Compares two
u16, returning the ordering ofleftrelative toright. - Compares two
u32, returning the ordering ofleftrelative toright. - Compares two
u64, returning the ordering ofleftrelative toright. - Compares two
u128, returning the ordering ofleftrelative toright. - Compares two
usize, returning the ordering ofleftrelative toright. - Compares two
Option<bool>for equality. - Compares two
Option<char>for equality. - Compares two
Option<i8>for equality. - Compares two
Option<i16>for equality. - Compares two
Option<i32>for equality. - Compares two
Option<i64>for equality. - Compares two
Option<i128>for equality. - Compares two
Option<isize>for equality. - Compares two
Option<u8>for equality. - Compares two
Option<u16>for equality. - Compares two
Option<u32>for equality. - Compares two
Option<u64>for equality. - Compares two
Option<u128>for equality. - Compares two
Option<usize>for equality.