pub fn with_buckets(num_buckets: u64) -> Histogram {
        assert!(num_buckets > 0);
        Histogram {
            num_buckets,
            samples: Default::default(),
        }
    }
/// Construct a new histogram with the given number of buckets.
///
/// ## Panics
///
/// Panics if the number of buckets is zero.
Construct a new histogram with the given number of buckets.
Construct a new histogram with the given number of buckets .
pub fn with_buckets(num_buckets: u64) -> Histogram {
        assert!(num_buckets > 0);
        Histogram {
            num_buckets,
            samples: Default::default(),
        }
    }
pub fn with_buckets ( num_buckets : u64 ) -> Histogram { assert ! ( num_buckets 0 ) ; Histogram { num_buckets , samples : Default :: default ( ) , } }
Construct a new histogram with the given number of buckets.
Construct a new histogram with the given number of buckets .
num_buckets
u64
panics
Panics if the number of buckets is zero.
Panics if the number of buckets is zero .