[−][src]Trait object_merge::CombineByKey
Combine and deduplicate items in a container that allows duplicates normally (such as Vec
Associated Types
type Elem
Required Methods
fn combine_by_key<F, K>(&mut self, template: &Self, get_key: F) where
F: FnMut(&Self::Elem) -> K,
K: Hash + Eq,
F: FnMut(&Self::Elem) -> K,
K: Hash + Eq,
Implementations on Foreign Types
impl<T> CombineByKey for Option<T> where
T: CombineByKey + Clone,
[src]
impl<T> CombineByKey for Option<T> where
T: CombineByKey + Clone,
type Elem = T::Elem
fn combine_by_key<F, K>(&mut self, template: &Self, get_key: F) where
F: FnMut(&Self::Elem) -> K,
K: Hash + Eq,
[src]
fn combine_by_key<F, K>(&mut self, template: &Self, get_key: F) where
F: FnMut(&Self::Elem) -> K,
K: Hash + Eq,
impl<T> CombineByKey for Vec<T> where
T: Clone,
[src]
impl<T> CombineByKey for Vec<T> where
T: Clone,
type Elem = T
fn combine_by_key<F, K>(&mut self, template: &Self, get_key: F) where
F: FnMut(&Self::Elem) -> K,
K: Hash + Eq,
[src]
fn combine_by_key<F, K>(&mut self, template: &Self, get_key: F) where
F: FnMut(&Self::Elem) -> K,
K: Hash + Eq,