Function iter_set::union_by [−][src]
pub fn union_by<T, L, R, F>(
a: L,
b: R,
cmp: F
) -> impl Iterator<Item = T> where
T: Ord,
L: IntoIterator<Item = T>,
R: IntoIterator<Item = T>,
F: FnMut(&T, &T) -> Ordering,
Take the union of two sets represented by sorted, deduplicated iterators, using a comparator function.
See union
.