[−][src]Trait ndhistogram::FillWeight
Fill a histogram bin value with a weight.
Values that may be stored in a Histogram should implement this trait to allow that histogram to be filled with weights. A blanket implementation is provided for types that implement the AddAssign trait.
Required methods
pub fn fill_weight(&mut self, weight: W)
[src]
Fill this value with some weight. For a simple number type means adding the weight.
Implementors
impl<W> FillWeight<W> for W where
Self: AddAssign<W>,
[src]
Self: AddAssign<W>,