Trait object_merge::CombineByKey
source · 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