Lyricdev
GitHub

struct TakeWhileIter

pub struct TakeWhileIter<I :: [Iterator], E :: [Error] = never> :: [Iterator]

Conforms to Iterator, Closeable.

Yields the values of an iterator up to, not including, the first for which p does not hold; made by it.takeWhile(p).

After that value it yields nothing more.

Methods

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