pub trait IsSortedBy<T> {
    fn is_sorted_by<F>(self, cmp: F) -> bool
    where
        F: FnMut(&T, &T) -> Ordering
; }
Expand description

Helper trait until is_sorted_by is stabilized. TODO: https://github.com/rust-lang/rust/issues/53485

Required Methods§

Implementors§