Trait IsSkipEmptyProducer

Source
pub trait IsSkipEmptyProducer<'a, T>: Iterator<Item = &'a [T]>
where T: 'a, Self: Sized,
{ // Required method fn skip_empty(self) -> SkipEmpty<'a, T, Self> ; }
Expand description

Utility trait to easily spawn the SkipEmpty iterator

Required Methods§

Source

fn skip_empty(self) -> SkipEmpty<'a, T, 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<'a, T, F> IsSkipEmptyProducer<'a, T> for Split<'a, T, F>
where F: FnMut(&T) -> bool,

Source§

fn skip_empty(self) -> SkipEmpty<'a, T, Self>

Implementors§