Lyricdev
GitHub

struct EnumerateIter

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

Conforms to Iterator, Closeable.

Yields each value of an iterator paired with its position, counted from 0; made by it.enumerate().

Methods

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