pub trait IsSortedBy<T> {
// Required method
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§
Object Safety§
This trait is not object safe.