Trait sortby::SortByIteratorExt
source · pub trait SortByIteratorExt: Iterator {
// Provided methods
fn sort_by<'a, F, V>(self, f: F) -> SortBy<'a, Self> ⓘ
where V: PartialOrd,
F: Fn(&Self::Item) -> V + 'a,
Self: Sized { ... }
fn sort_by_desc<'a, F, V>(self, f: F) -> SortBy<'a, Self> ⓘ
where V: PartialOrd,
F: Fn(&Self::Item) -> V + 'a,
Self: Sized { ... }
}