pub fn new<R>(reservoir: R) -> Histogram
    where
        R: Reservoir,
    {
        Histogram {
            count: AtomicU64::new(0),
            reservoir: Box::new(reservoir),
        }
    }
/// Creates a new histogram using the provided reservoir.
Creates a new histogram using the provided reservoir.
Creates a new histogram using the provided reservoir .
pub fn new<R>(reservoir: R) -> Histogram
    where
        R: Reservoir,
    {
        Histogram {
            count: AtomicU64::new(0),
            reservoir: Box::new(reservoir),
        }
    }
pub fn new < R > ( reservoir : R ) -> Histogram where R : Reservoir , { Histogram { count : AtomicU64 :: new ( 0 ) , reservoir : Box :: new ( reservoir ) , } }
Creates a new histogram using the provided reservoir.
Creates a new histogram using the provided reservoir .
reservoir
R
reservoir
R