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 for Lines<'a>

type Item = &'a str

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

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

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

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

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