Trait cgats::PartialAvg
source · pub trait PartialAvg<'a, T: 'a + PartialSum<'a, T> + PartialDiv<usize, Output = T>>: IterSum<'a, T> {
// Provided method
fn partial_avg(self) -> Option<T> { ... }
}
Expand description
Trait to average values in an iterator that may or may not be compatible
Provided Methods§
sourcefn partial_avg(self) -> Option<T>
fn partial_avg(self) -> Option<T>
Try to average the values
Object Safety§
This trait is not object safe.