pub struct CharSplitNIterator<'self, Sep> { priv iter: CharSplitIterator<'self, Sep>, priv count: uint, priv invert: bool, }
An iterator over the substrings of a string, separated by sep
,
splitting at most count
times.
impl<'self, Sep: Clone> Clone for CharSplitNIterator<'self, Sep>
fn clone(&self) -> CharSplitNIterator<'self, Sep>
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, Sep: CharEq> Iterator<&'self str> for CharSplitNIterator<'self, Sep>
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
).