• Home
  • Raw
  • Download

Lines Matching defs:K

21 impl<V, K, F: FnMut(&V) -> K> MapSpecialCaseFn<V> for GroupingMapFn<F> {  impl
28 pub(crate) fn new_map_for_grouping<K, I: Iterator, F: FnMut(&I::Item) -> K>( in new_map_for_grouping()
39 pub fn new<I, K, V>(iter: I) -> GroupingMap<I> in new() argument
108 pub fn aggregate<FO, R>(self, mut operation: FO) -> HashMap<K, R> in aggregate()
110 FO: FnMut(Option<R>, &K, V) -> Option<R>, in aggregate()
157 pub fn fold_with<FI, FO, R>(self, mut init: FI, mut operation: FO) -> HashMap<K, R> in fold_with()
159 FI: FnMut(&K, &V) -> R, in fold_with()
193 pub fn fold<FO, R>(self, init: R, operation: FO) -> HashMap<K, R> in fold()
196 FO: FnMut(R, &K, V) -> R, in fold()
228 pub fn reduce<FO>(self, mut operation: FO) -> HashMap<K, V> in reduce()
230 FO: FnMut(V, &K, V) -> V, in reduce()
242 pub fn fold_first<FO>(self, operation: FO) -> HashMap<K, V> in fold_first()
244 FO: FnMut(V, &K, V) -> V, in fold_first()
267 pub fn collect<C>(self) -> HashMap<K, C> in collect()
301 pub fn max(self) -> HashMap<K, V> in max()
327 pub fn max_by<F>(self, mut compare: F) -> HashMap<K, V> in max_by()
329 F: FnMut(&K, &V, &V) -> Ordering, in max_by()
356 pub fn max_by_key<F, CK>(self, mut f: F) -> HashMap<K, V> in max_by_key()
358 F: FnMut(&K, &V) -> CK, in max_by_key()
382 pub fn min(self) -> HashMap<K, V> in min()
408 pub fn min_by<F>(self, mut compare: F) -> HashMap<K, V> in min_by()
410 F: FnMut(&K, &V, &V) -> Ordering, in min_by()
437 pub fn min_by_key<F, CK>(self, mut f: F) -> HashMap<K, V> in min_by_key()
439 F: FnMut(&K, &V) -> CK, in min_by_key()
472 pub fn minmax(self) -> HashMap<K, MinMaxResult<V>> in minmax()
502 pub fn minmax_by<F>(self, mut compare: F) -> HashMap<K, MinMaxResult<V>> in minmax_by()
504 F: FnMut(&K, &V, &V) -> Ordering, in minmax_by()
553 pub fn minmax_by_key<F, CK>(self, mut f: F) -> HashMap<K, MinMaxResult<V>> in minmax_by_key()
555 F: FnMut(&K, &V) -> CK, in minmax_by_key()
580 pub fn sum(self) -> HashMap<K, V> in sum()
606 pub fn product(self) -> HashMap<K, V> in product()