pub struct Histogram { /* fields omitted */ }
Expand description
Create a new histogram with the given number of bins
Join data from multiple histograms
Add a value to the histogram
Increment a bin without adding a value
Get value of a specific bin
Returns an iterator over all bins
Returns true when there are zero bins
Get the bin index of the minimum value. There may be other bins with the same value, which
would not be reported by this function
Get the bin index of the maximum value. There may be other bins with the same value, which
would not be reported by this function
Count the number of bins with the given value
Get distribution of values
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
The returned type after indexing.
Performs the indexing (container[index]
) operation. Read more
Performs the mutable indexing (container[index]
) operation. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.