Type Alias itertools::structs::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,


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