IsReduce

Trait IsReduce 

Source
pub trait IsReduce: Op_ {
    type OM;

    // Required method
    fn get_map(&self) -> &Self::OM;
}

Required Associated Types§

Required Methods§

Source

fn get_map(&self) -> &Self::OM

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.

Implementors§

Source§

impl<K: Clone + Eq + Hash, X, C: Op<D = (K, X)>, M: CountMap<X> + Observable, Y: Clone + Eq, OM: OutputMap<K, Y>, F: Fn(&K, &M) -> Y> IsReduce for Reduce<K, X, C, M, Y, OM, F>

Source§

type OM = OM