Function itertools::unique_impl::unique_by

source ·
pub fn unique_by<I, V, F>(iter: I, f: F) -> UniqueBy<I, V, F> 
where V: Eq + Hash, F: FnMut(&I::Item) -> V, I: Iterator,
Expand description

Create a new UniqueBy iterator.