Lines Matching defs:K
32 pub fn new<I, K, V>(iter: I) -> GroupingMap<I> in new() argument
99 pub fn aggregate<FO, R>(self, mut operation: FO) -> HashMap<K, R> in aggregate()
100 where FO: FnMut(Option<R>, &K, V) -> Option<R>, in aggregate()
139 pub fn fold<FO, R>(self, init: R, mut operation: FO) -> HashMap<K, R> in fold()
141 FO: FnMut(R, &K, V) -> R, in fold()
176 pub fn fold_first<FO>(self, mut operation: FO) -> HashMap<K, V> in fold_first()
177 where FO: FnMut(V, &K, V) -> V, in fold_first()
205 pub fn collect<C>(self) -> HashMap<K, C> in collect()
235 pub fn max(self) -> HashMap<K, V> in max()
260 pub fn max_by<F>(self, mut compare: F) -> HashMap<K, V> in max_by()
261 where F: FnMut(&K, &V, &V) -> Ordering, in max_by()
288 pub fn max_by_key<F, CK>(self, mut f: F) -> HashMap<K, V> in max_by_key()
289 where F: FnMut(&K, &V) -> CK, in max_by_key()
313 pub fn min(self) -> HashMap<K, V> in min()
338 pub fn min_by<F>(self, mut compare: F) -> HashMap<K, V> in min_by()
339 where F: FnMut(&K, &V, &V) -> Ordering, in min_by()
366 pub fn min_by_key<F, CK>(self, mut f: F) -> HashMap<K, V> in min_by_key()
367 where F: FnMut(&K, &V) -> CK, in min_by_key()
400 pub fn minmax(self) -> HashMap<K, MinMaxResult<V>> in minmax()
429 pub fn minmax_by<F>(self, mut compare: F) -> HashMap<K, MinMaxResult<V>> in minmax_by()
430 where F: FnMut(&K, &V, &V) -> Ordering, in minmax_by()
479 pub fn minmax_by_key<F, CK>(self, mut f: F) -> HashMap<K, MinMaxResult<V>> in minmax_by_key()
480 where F: FnMut(&K, &V) -> CK, in minmax_by_key()
505 pub fn sum(self) -> HashMap<K, V> in sum()
530 pub fn product(self) -> HashMap<K, V> in product()