Functionality for ordering and comparison.
This module defines both
PartialEq traits which are used
by the compiler to implement comparison operators. Rust programs may
PartialOrd to overload the
and may implement
PartialEq to overload the
Trait for equality comparisons which are equivalence relations.
Trait for types that form a total order.
Trait for equality comparisons which are partial equivalence relations.
Trait for values that can be compared for a sort-order.
Compare and return the maximum of two values.
Compare and return the minimum of two values.