Lyricdev
GitHub

struct TakeIter

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

Conforms to Iterator, Closeable.

Yields the first n values of an iterator, or all of them where it has fewer; made by it.take(n).

Methods

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