Home
last modified time | relevance | path

Searched refs:unique_by (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/plotters/examples/
Dboxplot.rs47 .unique_by(|x| x.0.clone()) in main()
/external/rust/crates/itertools/src/
Dunique_impl.rs27 pub fn unique_by<I, V, F>(iter: I, f: F) -> UniqueBy<I, V, F> in unique_by() function
Dlib.rs1196 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/
Dtest_std.rs64 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/
DCHANGELOG.md99 - Provide simpler and faster `.count()` for `.unique()` and `.unique_by()`
290 - Added adaptors `.unique()`, `.unique_by()`