[][src]Trait sortby::SortByIteratorExt

pub trait SortByIteratorExt: Iterator {
    fn sort_by<'a, F, V>(self, f: F) -> SortBy<'a, Self>

Important traits for SortBy<'a, I>

impl<'a, I> Iterator for SortBy<'a, I> where
    I: Iterator
type Item = I::Item;

    where
        V: PartialOrd,
        F: Fn(&Self::Item) -> V + 'a,
        Self: Sized
, { ... }
fn sort_by_desc<'a, F, V>(self, f: F) -> SortBy<'a, Self>

Important traits for SortBy<'a, I>

impl<'a, I> Iterator for SortBy<'a, I> where
    I: Iterator
type Item = I::Item;

    where
        V: PartialOrd,
        F: Fn(&Self::Item) -> V + 'a,
        Self: Sized
, { ... } }

Provided methods

fn sort_by<'a, F, V>(self, f: F) -> SortBy<'a, Self>

Important traits for SortBy<'a, I>

impl<'a, I> Iterator for SortBy<'a, I> where
    I: Iterator
type Item = I::Item;
where
    V: PartialOrd,
    F: Fn(&Self::Item) -> V + 'a,
    Self: Sized

fn sort_by_desc<'a, F, V>(self, f: F) -> SortBy<'a, Self>

Important traits for SortBy<'a, I>

impl<'a, I> Iterator for SortBy<'a, I> where
    I: Iterator
type Item = I::Item;
where
    V: PartialOrd,
    F: Fn(&Self::Item) -> V + 'a,
    Self: Sized

Loading content...

Implementors

impl<T: ?Sized> SortByIteratorExt for T where
    T: Iterator
[src]

Loading content...