pub struct Iter<'a, T: 'a + Counter> { /* private fields */ }
Expand description
An iterator that will yield at log-size steps through the histogram’s value range.
Implementations
sourceimpl<'a, T: 'a + Counter> Iter<'a, T>
impl<'a, T: 'a + Counter> Iter<'a, T>
sourcepub fn new(
hist: &'a Histogram<T>,
value_units_in_first_bucket: u64,
log_base: f64
) -> HistogramIterator<'a, T, Iter<'a, T>>ⓘ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(
hist: &'a Histogram<T>,
value_units_in_first_bucket: u64,
log_base: f64
) -> HistogramIterator<'a, T, Iter<'a, T>>ⓘ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 logarithmic iterator. See Histogram::iter_log
for details.
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Iter<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for Iter<'a, T> where
T: Sync,
impl<'a, T> Sync for Iter<'a, T> where
T: Sync,
impl<'a, T> Unpin for Iter<'a, T>
impl<'a, T> UnwindSafe for Iter<'a, T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more