pub struct Histogram<T: Eq + Hash> {
pub lookup: IndexMap<T, usize>,
}Expand description
A convenience to analyze the distribution of generated values
Fields§
§lookup: IndexMap<T, usize>Implementations§
Trait Implementations§
Source§impl<T: Eq + Hash> FromIterator<T> for Histogram<T>
impl<T: Eq + Hash> FromIterator<T> for Histogram<T>
Source§fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
Creates a value from an iterator. Read more
Source§impl<'a, T: Eq + Hash> IntoIterator for &'a Histogram<T>
impl<'a, T: Eq + Hash> IntoIterator for &'a Histogram<T>
Auto Trait Implementations§
impl<T> Freeze for Histogram<T>
impl<T> RefUnwindSafe for Histogram<T>where
T: RefUnwindSafe,
impl<T> Send for Histogram<T>where
T: Send,
impl<T> Sync for Histogram<T>where
T: Sync,
impl<T> Unpin for Histogram<T>where
T: Unpin,
impl<T> UnwindSafe for Histogram<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more