Struct Split

pub struct Split<'data, T, P> { /* private fields */ }

Parallel iterator over slices separated by a predicate

Trait Implementations

impl<'data, T, P> ParallelIterator for Split<'data, T, P> where P: Fn(&T) -> bool + Sync + Send, T: Sync,

type Item = &'data [T];
fn drive_unindexed<C>(self, consumer: C) -> C::Result
where
    C: UnindexedConsumer<Self::Item>,

impl<T, P: Clone> Clone for Split<'_, T, P>

fn clone(&self) -> Self

impl<T: Debug, P> Debug for Split<'_, T, P>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl<'data, T, P> Freeze for Split<'data, T, P> where &'data [T]: Freeze, P: Freeze,

impl<'data, T, P> RefUnwindSafe for Split<'data, T, P> where &'data [T]: RefUnwindSafe, P: RefUnwindSafe,

impl<'data, T, P> Send for Split<'data, T, P> where &'data [T]: Send, P: Send,

impl<'data, T, P> Sync for Split<'data, T, P> where &'data [T]: Sync, P: Sync,

impl<'data, T, P> Unpin for Split<'data, T, P> where &'data [T]: Unpin, P: Unpin,

impl<'data, T, P> UnsafeUnpin for Split<'data, T, P> where &'data [T]: UnsafeUnpin, P: UnsafeUnpin,

impl<'data, T, P> UnwindSafe for Split<'data, T, P> where &'data [T]: UnwindSafe, P: UnwindSafe,

Blanket Implementations

impl<T> Any for Split<'data, T, P> where T: 'static + ?Sized,

impl<T> Borrow<T> for Split<'data, T, P> where T: ?Sized,

impl<T> BorrowMut<T> for Split<'data, T, P> where T: ?Sized,

impl<T> CloneToUninit for Split<'data, T, P> where T: Clone,

impl<T> From<T> for Split<'data, T, P>

impl<T> IntoEither for Split<'data, T, P>

impl<T> IntoParallelIterator for Split<'data, T, P> where T: ParallelIterator,

impl<T> Pointable for Split<'data, T, P>

impl<T> ToOwned for Split<'data, T, P> where T: Clone,

impl<T, U> Into<U> for Split<'data, T, P> where U: From<T>,

impl<T, U> TryFrom<U> for Split<'data, T, P> where U: Into<T>,

impl<T, U> TryInto<U> for Split<'data, T, P> where U: TryFrom<T>,