Expand description
Comparing and ordering values.
Structs§
Enums§
- Ordering
- ⚖️
coreThe result of a comparison between two values.
Traits§
- Eq
coreTrait for comparisons corresponding to equivalence relations.- Ord
coreTrait for types that form a total order.- Partial
Eq coreTrait for comparisons using the equality operator.- Partial
Ord coreTrait for types that form a partial order.
Derive Macros§
- Eq
coreDerive macro generating an impl of the traitEq.- Ord
coreDerive macro generating an impl of the traitOrd. The behavior of this macro is described in detail here.- Partial
Eq coreDerive macro generating an impl of the traitPartialEq. The behavior of this macro is described in detail here.- Partial
Ord coreDerive macro generating an impl of the traitPartialOrd. The behavior of this macro is described in detail here.