Struct collections::str::CharSplitsNExperimental [-]  [+] [src]

pub struct CharSplitsN<'a, Sep> {
    // some fields omitted
}

An iterator over the substrings of a string, separated by sep, splitting at most count times.

Trait Implementations

impl<'a, Sep: CharEq> Iterator<&'a str> for CharSplitsN<'a, Sep>

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

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

fn chain<U: Iterator<&'a str>>(self, U) -> Chain<CharSplitsN<'a, Sep>, U>

fn zip<B, U: Iterator<B>>(self, U) -> Zip<CharSplitsN<'a, Sep>, U>

fn map<B>(self, |&'a str| -> B) -> Map<'r, &'a str, B, CharSplitsN<'a, Sep>>

fn filter(self, |&&'a str| -> bool) -> Filter<'r, &'a str, CharSplitsN<'a, Sep>>

fn filter_map<B>(self, |&'a str| -> Option<B>) -> FilterMap<'r, &'a str, B, CharSplitsN<'a, Sep>>

fn enumerate(self) -> Enumerate<CharSplitsN<'a, Sep>>

fn peekable(self) -> Peekable<&'a str, CharSplitsN<'a, Sep>>

fn skip_while(self, |&&'a str| -> bool) -> SkipWhile<'r, &'a str, CharSplitsN<'a, Sep>>

fn take_while(self, |&&'a str| -> bool) -> TakeWhile<'r, &'a str, CharSplitsN<'a, Sep>>

fn skip(self, uint) -> Skip<CharSplitsN<'a, Sep>>

fn take(self, uint) -> Take<CharSplitsN<'a, Sep>>

fn scan<St, B>(self, St, |&mut St, &'a str| -> Option<B>) -> Scan<'r, &'a str, B, CharSplitsN<'a, Sep>, St>

fn flat_map<B, U: Iterator<B>>(self, |&'a str| -> U) -> FlatMap<'r, &'a str, CharSplitsN<'a, Sep>, U>

fn fuse(self) -> Fuse<CharSplitsN<'a, Sep>>

fn inspect(self, |&&'a str|) -> Inspect<'r, &'a str, CharSplitsN<'a, Sep>>

fn by_ref(&'r mut self) -> ByRef<'r, CharSplitsN<'a, Sep>>

fn collect<B: FromIterator<&'a str>>(&mut self) -> B

fn nth(&mut self, uint) -> Option<&'a str>

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

fn fold<B>(&mut self, B, |B, &'a str| -> B) -> B

fn count(&mut self) -> uint

fn all(&mut self, |&'a str| -> bool) -> bool

fn any(&mut self, |&'a str| -> bool) -> bool

fn find(&mut self, |&&'a str| -> bool) -> Option<&'a str>

fn position(&mut self, |&'a str| -> bool) -> Option<uint>

fn max_by<B: Ord>(&mut self, |&&'a str| -> B) -> Option<&'a str>

fn min_by<B: Ord>(&mut self, |&&'a str| -> B) -> Option<&'a str>

Derived Implementations

impl<'a, Sep: Clone> Clone for CharSplitsN<'a, Sep>

fn clone(&self) -> CharSplitsN<'a, Sep>

fn clone_from(&mut self, &CharSplitsN<'a, Sep>)