itertools::structs

Type Alias DedupBy

Source
pub type DedupBy<I, Pred> = CoalesceBy<I, DedupPred2CoalescePred<Pred>, <I as Iterator>::Item>;
Expand description

An iterator adaptor that removes repeated duplicates, determining equality using a comparison function.

See .dedup_by() or .dedup() for more information.

Aliased Type§

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

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.