pub trait Fill {
// Required method
fn fill(&mut self);
}
Expand description
Fill a histogram bin value with unit weight.
Values that may be stored in a Histogram should
implement this trait to allow that histogram to be filled.
A blanket implementation is provided for types that implement One
and AddAssign traits. See also FillWith.
Fill this value with unit weight.
For a simple number type this means simply increment by one.