pub trait PartialAvg<'a, T: 'a + PartialSum<'a, T> + PartialDiv<usize, Output = T>>: IterSum<'a, T> {
    fn partial_avg(self) -> Option<T> { ... }
}
Expand description

Trait to average values in an iterator that may or may not be compatible

Provided Methods

Try to average the values

Implementors