Struct core::iter::TakeWhileStable
[-]
[+]
[src]
pub struct TakeWhile<I, P> {
// some fields omitted
}An iterator that only accepts elements while predicate is true
pub struct TakeWhile<I, P> {
// some fields omitted
}An iterator that only accepts elements while predicate is true
impl<I: Iterator, P> Iterator for TakeWhile<I, P> where P: FnMut(&Item) -> boolimpl<I: Clone, P: Clone> Clone for TakeWhile<I, P>fn clone(&self) -> TakeWhile<I, P>fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).