Trait SplitEveryImpl

Source
pub trait SplitEveryImpl: Sized {
    // Provided method
    fn split_every_n_times(self, pat: Self, n: usize) -> SplitEvery<Self, Self>  { ... }
}

Provided Methods§

Source

fn split_every_n_times(self, pat: Self, n: usize) -> SplitEvery<Self, Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SplitEveryImpl for &str

Source§

impl SplitEveryImpl for Drain<'_>

Source§

impl SplitEveryImpl for String

Source§

impl<T: Clone + PartialEq> SplitEveryImpl for &[T]

Source§

impl<T: Clone + PartialEq> SplitEveryImpl for Vec<T>

Implementors§