Crate stream_kmerge

Source

Structs§

FnComparator
HeadTail
Head element and tail stream pair
KWayMergeBy
A stream adaptor that merges an abitrary number of base streams according to an ordering function.
KeyComparator
OrdComparator

Functions§

kmerge
Create a stream that merges elements of the contained streams using the ordering function.
kmerge_by
Create a stream that merges elements of the contained streams.
kmerge_by_key
Create a stream that merges elements of the contained streams.

Type Aliases§

KWayMerge
A stream adaptor that merges an abitrary number of base streams in descending order. If all base streams are sorted (descending), the result is sorted.