Home
last modified time | relevance | path

Searched refs:fold_first (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/itertools/src/
Dgrouping_map.rs176 pub fn fold_first<FO>(self, mut operation: FO) -> HashMap<K, V> in fold_first() function
263 self.fold_first(|acc, key, val| match compare(key, &acc, &val) { in max_by()
341 self.fold_first(|acc, key, val| match compare(key, &acc, &val) { in min_by()
508 self.fold_first(|acc, _, val| acc + val) in sum()
533 self.fold_first(|acc, _, val| acc * val) in product()
/external/rust/crates/itertools/tests/
Dquick.rs1297 .fold_first(|acc, &key, val| {