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

pub struct TakeWhile<A, I, P> {
    // 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>

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

fn clone_from(&mut self, &TakeWhile<A, I, P>)

impl<A, I, P> Iterator<A> for TakeWhile<A, I, P>

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

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

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