Struct hdrsample::iterators::log::Iter [] [src]

pub struct Iter<'a, T: 'a + Num + ToPrimitive + Copy> {
    // some fields omitted
}

An iterator that will yield at log-size steps through the histogram's value range.

Methods

impl<'a, T: 'a + Num + ToPrimitive + Copy> Iter<'a, T>
[src]

fn new(hist: &'a Histogram<T>, valueUnitsInFirstBucket: i64, logBase: f64) -> HistogramIterator<'a, T, Iter<'a, T>>

Construct a new logarithmic iterator. See Histogram::iter_log for details.

Trait Implementations

impl<'a, T: 'a + Num + ToPrimitive + Copy> PickyIterator<T> for Iter<'a, T>
[src]

fn pick(&mut self, index: usize, _: i64) -> bool

should an item be yielded for the given index?

fn more(&mut self, next_index: usize) -> bool

should we keep iterating even though all future indices are zeros?