Function itertools::kmerge_by[][src]

pub fn kmerge_by<I, F>(
    iterable: I,
    less_than: F
) -> KMergeBy<<I::Item as IntoIterator>::IntoIter, F>

Notable traits for KMergeBy<I, F>

impl<I, F> Iterator for KMergeBy<I, F> where
    I: Iterator,
    F: KMergePredicate<I::Item>, 
type Item = I::Item;
where
    I: IntoIterator,
    I::Item: IntoIterator,
    F: KMergePredicate<<<I as IntoIterator>::Item as IntoIterator>::Item>, 

Create an iterator that merges elements of the contained iterators.

Equivalent to iterable.into_iter().kmerge_by(less_than).