Function itertools::merge_join_by
source · [−]pub fn merge_join_by<I, J, F>(
left: I,
right: J,
cmp_fn: F
) -> MergeJoinBy<I::IntoIter, J::IntoIter, F>ⓘNotable traits for MergeJoinBy<I, J, F>impl<I, J, F> Iterator for MergeJoinBy<I, J, F>where
I: Iterator,
J: Iterator,
F: FnMut(&I::Item, &J::Item) -> Ordering, type Item = EitherOrBoth<I::Item, J::Item>;
where
I: IntoIterator,
J: IntoIterator,
F: FnMut(&I::Item, &J::Item) -> Ordering,
Expand description
Return an iterator adaptor that merge-joins items from the two base iterators in ascending order.
IntoIterator
enabled version of Itertools::merge_join_by
.