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
pub struct Words<'a> { // some fields omitted }
An iterator over the words of a string, separated by a sequence of whitespace
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>
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).