Function indxvec::compare

source ·
pub fn compare<T>(a: &T, b: &T) -> Orderingwhere
    T: PartialOrd,
Expand description

General comparison that unlike cmp method in trait core::cmp::Ordering does not require onerous trait bounds, namely T to be Ord, Iterator, etc.