Lyricdev
GitHub

struct StepByIter

pub struct StepByIter<I :: [Iterator]> :: [Iterator]

Conforms to Iterator, Closeable.

Yields the first value of an iterator, then every nth after it; made by it.stepBy(n).

Methods

pub mut fn next(): ?I.Item throws I.Error
fn close(): void throws I.Error