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

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

An iterator over the words of a string, separated by a sequence of whitespace

Trait Implementations

impl<'a> Iterator for Words<'a>

type Item = &'a str

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

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

impl<'a> DoubleEndedIterator for Words<'a>

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