Searched refs:unique_by (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/plotters/examples/ |
D | boxplot.rs | 47 .unique_by(|x| x.0.clone()) in main()
|
/external/rust/crates/itertools/src/ |
D | unique_impl.rs | 27 pub fn unique_by<I, V, F>(iter: I, f: F) -> UniqueBy<I, V, F> in unique_by() function
|
D | lib.rs | 1196 fn unique_by<V, F>(self, f: F) -> UniqueBy<Self, V, F> in unique_by() method 1201 unique_impl::unique_by(self, f) in unique_by()
|
/external/rust/crates/itertools/tests/ |
D | test_std.rs | 64 fn unique_by() { in unique_by() function 67 it::assert_equal(ys.iter(), xs.iter().unique_by(|x| x[..2].to_string())); in unique_by() 68 it::assert_equal(ys.iter(), xs.iter().rev().unique_by(|x| x[..2].to_string()).rev()); in unique_by() 70 it::assert_equal(ys_rev.iter(), xs.iter().unique_by(|x| x[..2].to_string()).rev()); in unique_by()
|
/external/rust/crates/itertools/ |
D | CHANGELOG.md | 99 - Provide simpler and faster `.count()` for `.unique()` and `.unique_by()` 290 - Added adaptors `.unique()`, `.unique_by()`
|