Function std::cmp::lexical_ordering[src]
pub fn lexical_ordering(o1: Ordering, o2: Ordering) -> Ordering
Combine orderings, lexically.
For example for a type (int, int), two comparisons could be done.
If the first ordering is different, the first ordering is all that must be returned.
If the first ordering is equal, then second ordering is returned.