[src]

Function std::cmp::lexical_ordering

pub fn lexical_ordering(o1: Ordering, o2: Ordering) -> Ordering

Return o1 if it is not Equal, otherwise o2. Simulates the lexical ordering on a type (int, int).