Aggregate

Trait Aggregate 

Source
pub trait Aggregate<A = Self> {
    // Required method
    fn aggregate<I>(iter: I) -> Self
       where I: Iterator<Item = A>;
}
Expand description

Trait used by the AggregateExt Extension trait

Required Methods§

Source

fn aggregate<I>(iter: I) -> Self
where I: Iterator<Item = A>,

aggregate all elements of iter into a new Self pendant to core::iter::Sum

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<AI, O, W> Aggregate<AI> for ReclassifyIterator<AggregationIterator<AI, W>, O>
where <AI as CurveIterator>::CurveKind: AggregateInto<O>, AI: CurveIterator, AI::CurveKind: CurveType<WindowKind = W>, W: Debug,