[][src]Trait ndhistogram::Fill

pub trait Fill {
    pub fn fill(&mut self);
}

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 FillWeight.

Required methods

pub fn fill(&mut self)[src]

Fill this value with unit weight. For a simple number type this means simply increment by one.

Loading content...

Implementors

impl<T: One + AddAssign> Fill for T[src]

Loading content...