Struct collections::str::StrSplits[src]
pub struct StrSplits<'a> {
// some fields omitted
}An iterator over the substrings of a string separated by a given search string
pub struct StrSplits<'a> {
// some fields omitted
}An iterator over the substrings of a string separated by a given search string
impl<'a> Iterator<&'a str> for StrSplits<'a>fn next<'a>(&mut self) -> Option<&'a str>fn size_hint<'a>(&self) -> (uint, Option<uint>)fn chain<U: Iterator<&'a str>>(self, U) -> Chain<StrSplits<'a>, U>fn zip<B, U: Iterator<B>>(self, U) -> Zip<StrSplits<'a>, U>fn map<B>(self, |&'a str|: 'r -> B) -> Map<'r, &'a str, B, StrSplits<'a>>fn filter<'a>(self, |&&'a str|: 'r -> bool) -> Filter<'r, &'a str, StrSplits<'a>>fn filter_map<B>(self, |&'a str|: 'r -> Option<B>) -> FilterMap<'r, &'a str, B, StrSplits<'a>>fn enumerate<'a>(self) -> Enumerate<StrSplits<'a>>fn peekable<'a>(self) -> Peekable<&'a str, StrSplits<'a>>fn skip_while<'a>(self, |&&'a str|: 'r -> bool) -> SkipWhile<'r, &'a str, StrSplits<'a>>fn take_while<'a>(self, |&&'a str|: 'r -> bool) -> TakeWhile<'r, &'a str, StrSplits<'a>>fn skip<'a>(self, uint) -> Skip<StrSplits<'a>>fn take<'a>(self, uint) -> Take<StrSplits<'a>>fn scan<St, B>(self, St, |&mut St, &'a str|: 'r -> Option<B>) -> Scan<'r, &'a str, B, StrSplits<'a>, St>fn flat_map<B, U: Iterator<B>>(self, |&'a str|: 'r -> U) -> FlatMap<'r, &'a str, StrSplits<'a>, U>fn fuse<'a>(self) -> Fuse<StrSplits<'a>>fn inspect<'a>(self, |&&'a str|: 'r) -> Inspect<'r, &'a str, StrSplits<'a>>fn by_ref<'a>(&'r mut self) -> ByRef<'r, StrSplits<'a>>fn advance<'a>(&mut self, |&'a str| -> bool) -> boolfn collect<B: FromIterator<&'a str>>(&mut self) -> Bfn nth<'a>(&mut self, uint) -> Option<&'a str>fn last<'a>(&mut self) -> Option<&'a str>fn fold<B>(&mut self, B, |B, &'a str| -> B) -> Bfn count<'a>(&mut self) -> uintfn all<'a>(&mut self, |&'a str| -> bool) -> boolfn any<'a>(&mut self, |&'a str| -> bool) -> boolfn find<'a>(&mut self, |&&'a str| -> bool) -> Option<&'a str>fn position<'a>(&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>impl<'a> Clone for StrSplits<'a>fn clone<'a>(&self) -> StrSplits<'a>fn clone_from<'a>(&mut self, &StrSplits<'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 (or str), enum,
trait, typedef (or
tdef).