Struct cov::raw::Histogram [−][src]
pub struct Histogram { pub buckets: BTreeMap<u32, HistogramBucket>, }
Histogram in the Summary
.
Fields
buckets: BTreeMap<u32, HistogramBucket>
Buckets in the histogram.
The key gives the scale-index.
Trait Implementations
impl Clone for Histogram
[src]
impl Clone for Histogram
fn clone(&self) -> Histogram
[src]
fn clone(&self) -> Histogram
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Histogram
[src]
impl PartialEq for Histogram
fn eq(&self, other: &Histogram) -> bool
[src]
fn eq(&self, other: &Histogram) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Histogram) -> bool
[src]
fn ne(&self, other: &Histogram) -> bool
This method tests for !=
.
impl Eq for Histogram
[src]
impl Eq for Histogram
impl Hash for Histogram
[src]
impl Hash for Histogram
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Histogram
[src]
impl Debug for Histogram
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Histogram
[src]
impl Default for Histogram