Struct core::iter::TakeWhileStable [-]  [+] [src]

pub struct TakeWhile<A, I, P> where I: Iterator<A>, P: FnMut(&A) -> bool {
    // some fields omitted
}

An iterator that only accepts elements while predicate is true

Trait Implementations

impl<A, I, P> Clone for TakeWhile<A, I, P> where I: Clone + Iterator<A>, P: Clone + FnMut(&A) -> bool

fn clone(&self) -> TakeWhile<A, I, P>

fn clone_from(&mut self, source: &Self)

impl<A, I, P> Iterator<A> for TakeWhile<A, I, P> where I: Iterator<A>, P: FnMut(&A) -> bool

fn next(&mut self) -> Option<A>

fn size_hint(&self) -> (uint, Option<uint>)