pub struct CharSplits<'a, Sep> {
// some fields omitted
}An iterator over the substrings of a string, separated by sep.
Trait Implementations
fn map<B>(self, |&'a str| -> B) -> Map<'r, &'a str, B, CharSplits<'a, Sep>>
fn scan<St, B>(self, St, |&mut St, &'a str| -> Option<B>) -> Scan<'r, &'a str, B, CharSplits<'a, Sep>, St>
fn fold<B>(&mut self, B, |B, &'a str| -> B) -> B
fn all(&mut self, |&'a str| -> bool) -> bool
fn any(&mut self, |&'a str| -> bool) -> bool
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
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
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).