Trait split_every::SplitEveryImpl

source ·
pub trait SplitEveryImpl: AsRef<str> {
    // Provided method
    fn split_every_n_times<'a, T: Pattern<'a>>(
        &'a self,
        pat: T,
        n: usize,
    ) -> SplitEvery<'a, T>  { ... }
}
Expand description

A trait containing all string split-every functions.

Provided Methods§

source

fn split_every_n_times<'a, T: Pattern<'a>>( &'a self, pat: T, n: usize, ) -> SplitEvery<'a, T>

This splits a string every n times a string is found. This splits exclusively.

Object Safety§

This trait is not object safe.

Implementors§