pub trait Accumulator<A>: Send + Sync + Clone {
    type VW: ValueWriter<A>;

    fn writer(&self) -> Self::VW;

    fn write_vec(
        &self,
        vs: Vec<A>
    ) -> <<Self as Accumulator<A>>::VW as ValueWriter<A>>::Out { ... } }
Expand description

Accumulators are object which can create ‘Writers’, using effectively the Builder pattern

Required Associated Types§

ValueWriter created

Required Methods§

Create a new ValueWriter

Provided Methods§

Convert a Vec into a ValueWriter output

Implementations on Foreign Types§

Implementors§