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

pub struct TakeWhile<'a, A, T> {
    // some fields omitted
}

An iterator which only accepts elements while predicate is true

Trait Implementations

impl<'a, A, T: Iterator<A>> Iterator<A> for TakeWhile<'a, A, T>

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

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

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