Struct std::str::LinesStable [-]  [+] [src]

pub struct Lines<'a> {
    // some fields omitted
}

An iterator over the lines of a string, separated by \n.

Trait Implementations

impl<'a> Iterator<&'a str> for Lines<'a>

fn next(&mut self) -> Option<&'a str>

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

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

impl<'a> DoubleEndedIterator<&'a str> for Lines<'a>

fn next_back(&mut self) -> Option<&'a str>