[−][src]Trait ndhistogram::FillWith
Fill a histogram bin value with some data.
Fill a histogram with some value. This trait has a blanket implementation for AddAssign. In the case of primitive histogram values, this is equivalent to a weighted fill.
Required methods
pub fn fill_with(&mut self, value: D)
[src]
Fill this value with some data. For a simple number type means adding the weight.
Implementors
impl<D> FillWith<D> for D where
Self: AddAssign<D>,
[src]
Self: AddAssign<D>,
impl<T, C, O> FillWith<T> for Mean<T, O, C> where
T: Copy + AddAssign + Mul<Output = T>,
C: AddAssign + One,
[src]
T: Copy + AddAssign + Mul<Output = T>,
C: AddAssign + One,
impl<T, W> FillWith<W> for WeightedSum<T> where
T: FillWith<W> + Copy,
W: Mul<Output = W> + Copy,
[src]
T: FillWith<W> + Copy,
W: Mul<Output = W> + Copy,