pub struct StrSplitIterator<'self> { priv it: MatchesIndexIterator<'self>, priv last_end: uint, priv finished: bool, }
An iterator over the substrings of a string separated by a given search string
impl<'self> Clone for StrSplitIterator<'self>
fn clone(&self) -> StrSplitIterator<'self>
Returns a copy of the value. The contents of owned pointers are copied to maintain uniqueness, while the contents of managed pointers are not copied.
impl<'self> Iterator<&'self str> for StrSplitIterator<'self>
fn next(&mut self) -> Option<&'self str>
Advance the iterator and return the next value. Return None
when the end is reached.
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
(or str
), enum
,
trait
, typedef
(or
tdef
).