Module cmp
Structs
- A value with three states:
Ordering::less(),Ordering::equal()orOrdering::greater(). Most often used to encode the result of a comparison operation.
Traits
- Compare two values for equality
- Compare one object to another, returning whether it is less-than, equal-to, or greater-than the other object.
Functions
- Compares and returns the maximum of two values.
- Compares and returns the minimum of two values.