pub trait CombineByKey {
    type Elem;

    fn combine_by_key<F, K>(&mut self, template: &Self, get_key: F)
    where
        F: FnMut(&Self::Elem) -> K,
        K: Hash + Eq
; }
Expand description

Combine and deduplicate items in a container that allows duplicates normally (such as Vec) while preserving the original element order.

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Implementors§