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

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

An iterator over the lines of a string, separated by either \n or (\r\n).

Trait Implementations

impl<'a> Iterator for LinesAny<'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 LinesAny<'a>

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