Struct KMergeBy
#[must_use = "this iterator adaptor is not lazy but does nearly nothing unless consumed"]
pub struct KMergeBy<I, F>
where
I: Iterator, { /* private fields */ }
An iterator adaptor that merges an arbitrary number of base iterators according to an ordering function.
Iterator element type is I::Item.
See .kmerge_by() for more
information.
Trait Implementations
impl<I, F> Clone for KMergeBy<I, F>
where
I: Iterator + Clone,
I::Item: Clone,
F: Clone,
fn clone(&self) -> Self
impl<I, F> Debug for KMergeBy<I, F>
where
I: Iterator + Debug,
I::Item: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<I, F> FusedIterator for KMergeBy<I, F>
where
I: Iterator,
F: KMergePredicate<I::Item>,
impl<I, F> Iterator for KMergeBy<I, F>
where
I: Iterator,
F: KMergePredicate<I::Item>,
type Item = <I as Iterator>::Item;fn next(&mut self) -> Option<Self::Item>fn size_hint(&self) -> (usize, Option<usize>)