pub trait AggFunc {
type T;
// Required methods
fn min(&self) -> Self::T;
fn max(&self) -> Self::T;
fn sum(&self) -> Self::T;
fn mean(&self) -> Self::T;
fn var(&self) -> Self::T
where Self::T: Sub<Self::T, Output = Self::T> + Pow<Self::T, Output = Self::T>;
fn std(&self) -> Self::T
where Self::T: Sub<Self::T, Output = Self::T> + Pow<Self::T, Output = Self::T> + From<f32>;
}