Function itertools::extrema_set::min_set_impl

source ยท
pub fn min_set_impl<I, K, F, Compare>(
    it: I,
    key_for: F,
    compare: Compare,
) -> Vec<I::Item>
where I: Iterator, F: FnMut(&I::Item) -> K, Compare: FnMut(&I::Item, &I::Item, &K, &K) -> Ordering,
Expand description

Implementation guts for min_set, min_set_by, and min_set_by_key.