pub trait Cmp<Rhs = Self> { type Output: Ordering; // Provided method fn cmp(&self, other: &Rhs) -> Self::Output { ... } }
Type-level comparison.
The resulting type after type-level comparison.
Performs comparison.