pub struct Iter { /* private fields */ }
Expand description
An iterator that will yield only bins with at least one sample.
Implementations
sourceimpl Iter
impl Iter
sourcepub fn new<T: Counter>(hist: &Histogram<T>) -> HistogramIterator<'_, T, Iter>ⓘNotable traits for HistogramIterator<'a, T, P>impl<'a, T: 'a, P> Iterator for HistogramIterator<'a, T, P>where
T: Counter,
P: PickyIterator<T>, type Item = IterationValue<T>;
pub fn new<T: Counter>(hist: &Histogram<T>) -> HistogramIterator<'_, T, Iter>ⓘNotable traits for HistogramIterator<'a, T, P>impl<'a, T: 'a, P> Iterator for HistogramIterator<'a, T, P>where
T: Counter,
P: PickyIterator<T>, type Item = IterationValue<T>;
T: Counter,
P: PickyIterator<T>, type Item = IterationValue<T>;
Construct a new sampled iterator. See Histogram::iter_recorded
for details.
Trait Implementations
sourceimpl<T: Counter> PickyIterator<T> for Iter
impl<T: Counter> PickyIterator<T> for Iter
Auto Trait Implementations
impl RefUnwindSafe for Iter
impl Send for Iter
impl Sync for Iter
impl Unpin for Iter
impl UnwindSafe for Iter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more