struct TakeWhileIterator<It, F, T> { ... }
It: Iterator<It, T>
F: Fn(T) -> bool

Iterator that takes elements while a predicate is true.

See take_while.

Methods

impl TakeWhileIterator<It, F, T> { ... }
It: Iterator<It, T>
F: Fn(T) -> bool

Mixins

impl TakeWhileIterator<It, F, T> { ... }
It: Iterator<It, T>
F: Fn(T) -> bool