Struct histo::Histogram [] [src]

pub struct Histogram { /* fields omitted */ }

A histogram is a collection of samples, sorted into buckets.

See the crate level documentation for more details.

Methods

impl Histogram
[src]

Construct a new histogram with the given number of buckets.

Panics

Panics if the number of buckets is zero.

Add a new sample to this histogram.

Get an iterator over this histogram's buckets.

Trait Implementations

impl Debug for Histogram
[src]

Formats the value using the given formatter.

impl Clone for Histogram
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Histogram
[src]

Formats the value using the given formatter. Read more