[][src]Trait split_ext::IntoSplitExt

pub trait IntoSplitExt: Deref<Target = str> + StableDeref + Sized {
    fn into_split_whitespace(self) -> IntoSplitWhitespace<Self> { ... }
fn into_split_whitespace_map<F, R>(
        self,
        fun: F
    ) -> IntoSplitWhitespaceMap<Self, F>
    where
        F: FnMut(&str) -> R
, { ... }
fn into_split_whitespace_and_then<F, I>(
        self,
        fun: F
    ) -> IntoSplitWhitespaceAndThen<Self, F, I>
    where
        F: FnMut(&str) -> I,
        I: IntoIterator
, { ... }
fn into_split_regex(self, regex: Regex) -> IntoSplitRegex<Self> { ... }
fn into_split_regex_map<F, R>(
        self,
        regex: Regex,
        fun: F
    ) -> IntoSplitRegexMap<Self, F>
    where
        F: FnMut(&str) -> R
, { ... }
fn into_split_regex_and_then<F, I>(
        self,
        regex: Regex,
        fun: F
    ) -> IntoSplitRegexAndThen<Self, F, I>
    where
        F: FnMut(&str) -> I,
        I: IntoIterator
, { ... }
fn into_split_regex_ref(self, regex: &Regex) -> IntoSplitRegexRef<Self> { ... }
fn into_split_regex_ref_map<F, R>(
        self,
        regex: &Regex,
        fun: F
    ) -> IntoSplitRegexRefMap<Self, F>
    where
        F: FnMut(&str) -> R
, { ... }
fn into_split_regex_ref_and_then<F, I>(
        self,
        regex: &Regex,
        fun: F
    ) -> IntoSplitRegexRefAndThen<Self, F, I>
    where
        F: FnMut(&str) -> I,
        I: IntoIterator
, { ... } }

Trait for owning-splitter methods. These methods work on String, Box<str>, Rc<str>, etc.

Provided methods

Important traits for IntoSplitWhitespace<S>
fn into_split_whitespace(self) -> IntoSplitWhitespace<Self>

Important traits for IntoSplitWhitespaceMap<S, F>
fn into_split_whitespace_map<F, R>(
    self,
    fun: F
) -> IntoSplitWhitespaceMap<Self, F> where
    F: FnMut(&str) -> R, 

Important traits for IntoSplitWhitespaceAndThen<S, F, I>
fn into_split_whitespace_and_then<F, I>(
    self,
    fun: F
) -> IntoSplitWhitespaceAndThen<Self, F, I> where
    F: FnMut(&str) -> I,
    I: IntoIterator

Important traits for IntoSplitRegex<S>
fn into_split_regex(self, regex: Regex) -> IntoSplitRegex<Self>

Important traits for IntoSplitRegexMap<S, F>
fn into_split_regex_map<F, R>(
    self,
    regex: Regex,
    fun: F
) -> IntoSplitRegexMap<Self, F> where
    F: FnMut(&str) -> R, 

Important traits for IntoSplitRegexAndThen<S, F, I>
fn into_split_regex_and_then<F, I>(
    self,
    regex: Regex,
    fun: F
) -> IntoSplitRegexAndThen<Self, F, I> where
    F: FnMut(&str) -> I,
    I: IntoIterator

Important traits for IntoSplitRegexRef<'r, S>
fn into_split_regex_ref(self, regex: &Regex) -> IntoSplitRegexRef<Self>

Important traits for IntoSplitRegexRefMap<'r, S, F>
fn into_split_regex_ref_map<F, R>(
    self,
    regex: &Regex,
    fun: F
) -> IntoSplitRegexRefMap<Self, F> where
    F: FnMut(&str) -> R, 

Important traits for IntoSplitRegexRefAndThen<'r, S, F, I>
fn into_split_regex_ref_and_then<F, I>(
    self,
    regex: &Regex,
    fun: F
) -> IntoSplitRegexRefAndThen<Self, F, I> where
    F: FnMut(&str) -> I,
    I: IntoIterator

Loading content...

Implementors

impl<T: Deref<Target = str> + StableDeref + Sized> IntoSplitExt for T[src]

Important traits for IntoSplitWhitespace<S>
fn into_split_whitespace(self) -> IntoSplitWhitespace<Self>[src]

Important traits for IntoSplitWhitespaceMap<S, F>
fn into_split_whitespace_map<F, R>(
    self,
    fun: F
) -> IntoSplitWhitespaceMap<Self, F> where
    F: FnMut(&str) -> R, 
[src]

Important traits for IntoSplitWhitespaceAndThen<S, F, I>
fn into_split_whitespace_and_then<F, I>(
    self,
    fun: F
) -> IntoSplitWhitespaceAndThen<Self, F, I> where
    F: FnMut(&str) -> I,
    I: IntoIterator
[src]

Important traits for IntoSplitRegex<S>
fn into_split_regex(self, regex: Regex) -> IntoSplitRegex<Self>[src]

Important traits for IntoSplitRegexMap<S, F>
fn into_split_regex_map<F, R>(
    self,
    regex: Regex,
    fun: F
) -> IntoSplitRegexMap<Self, F> where
    F: FnMut(&str) -> R, 
[src]

Important traits for IntoSplitRegexAndThen<S, F, I>
fn into_split_regex_and_then<F, I>(
    self,
    regex: Regex,
    fun: F
) -> IntoSplitRegexAndThen<Self, F, I> where
    F: FnMut(&str) -> I,
    I: IntoIterator
[src]

Important traits for IntoSplitRegexRef<'r, S>
fn into_split_regex_ref(self, regex: &Regex) -> IntoSplitRegexRef<Self>[src]

Important traits for IntoSplitRegexRefMap<'r, S, F>
fn into_split_regex_ref_map<F, R>(
    self,
    regex: &Regex,
    fun: F
) -> IntoSplitRegexRefMap<Self, F> where
    F: FnMut(&str) -> R, 
[src]

Important traits for IntoSplitRegexRefAndThen<'r, S, F, I>
fn into_split_regex_ref_and_then<F, I>(
    self,
    regex: &Regex,
    fun: F
) -> IntoSplitRegexRefAndThen<Self, F, I> where
    F: FnMut(&str) -> I,
    I: IntoIterator
[src]

Loading content...