Skip to main content

rcmp

Function rcmp 

Source
pub fn rcmp(a: &TypeStateKey, b: &TypeStateKey) -> Ordering
Expand description

Compares state keys in descending event-type and state-key order.

Both components are reversed together, producing the inverse of cmp. It is suitable for descending sorts over the same key domain.