Lyricdev
GitHub

struct ChunksIter

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

Conforms to Iterator, Closeable.

Yields the values of an iterator in lists of n; made by it.chunks(n).

The last list is shorter where the values do not divide evenly.

Methods

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