pub trait DedupByKeyAdapter<F, K>: Iterator {
// Provided method
fn dedup_by_key(self, key: F) -> DedupByKey<Self, F, K> ⓘ
where Self: Sized,
F: Fn(&Self::Item) -> K { ... }
}Expand description
Provides the dedup_by_key method on Iterators.