DedupByWithCount

Type Alias DedupByWithCount 

Source
pub type DedupByWithCount<I, Pred> = CoalesceBy<I, DedupPredWithCount2CoalescePred<Pred>, WithCount>;
Expand description

An iterator adaptor that removes repeated duplicates, while keeping a count of how many repeated elements were present. This will determine equality using a comparison function.

See .dedup_by_with_count() or .dedup_with_count() for more information.

Aliased Type§

pub struct DedupByWithCount<I, Pred> { /* private fields */ }

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.