itertools::structs

Type Alias DedupBy

Source
pub type DedupBy<I, Pred> = CoalesceBy<I, DedupPred2CoalescePred<Pred>, NoCount>;
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 */ }