pub trait GroupByAggrCopy: Iterator {
// Required method
fn group_by_aggr<T: Hash + Eq + Deref + Copy, K: Fn(&Self::Item) -> T, R, A: Fn(&Vec<Self::Item>) -> R>(
self,
get_key: K,
aggrs: HashMap<&str, A>,
) -> HashMap<T, HashMap<&str, R>>;
}Required Methods§
fn group_by_aggr<T: Hash + Eq + Deref + Copy, K: Fn(&Self::Item) -> T, R, A: Fn(&Vec<Self::Item>) -> R>( self, get_key: K, aggrs: HashMap<&str, A>, ) -> HashMap<T, HashMap<&str, R>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.