Type Alias itertools::kmerge_impl::KMerge

source ·
pub type KMerge<I> = KMergeBy<I, KMergeByLt>;
Expand description

An iterator adaptor that merges an abitrary number of base iterators in ascending order. If all base iterators are sorted (ascending), the result is sorted.

Iterator element type is I::Item.

See .kmerge() for more information.

Aliased Type§

struct KMerge<I> {
    heap: Vec<HeadTail<I>>,
    less_than: KMergeByLt,
}

Fields§

§heap: Vec<HeadTail<I>>§less_than: KMergeByLt