Struct Split

pub struct Split<D, S> { /* private fields */ }

Split is a parallel iterator using arbitrary data and a splitting function. This struct is created by the [split()] function.

Trait Implementations

impl<D, S> ParallelIterator for Split<D, S> where D: Send, S: Fn(D) -> (D, Option<D>) + Sync + Send,

type Item = D;
fn drive_unindexed<C>(self, consumer: C) -> C::Result
where
    C: UnindexedConsumer<Self::Item>,

impl<D: Clone, S: Clone> Clone for Split<D, S>

fn clone(&self) -> Self

impl<D: Debug, S> Debug for Split<D, S>

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

Auto Trait Implementations

impl<D, S> Freeze for Split<D, S> where D: Freeze, S: Freeze,

impl<D, S> RefUnwindSafe for Split<D, S> where D: RefUnwindSafe, S: RefUnwindSafe,

impl<D, S> Send for Split<D, S> where D: Send, S: Send,

impl<D, S> Sync for Split<D, S> where D: Sync, S: Sync,

impl<D, S> Unpin for Split<D, S> where D: Unpin, S: Unpin,

impl<D, S> UnsafeUnpin for Split<D, S> where D: UnsafeUnpin, S: UnsafeUnpin,

impl<D, S> UnwindSafe for Split<D, S> where D: UnwindSafe, S: UnwindSafe,

Blanket Implementations

impl<T> Any for Split<D, S> where T: 'static + ?Sized,

impl<T> Borrow<T> for Split<D, S> where T: ?Sized,

impl<T> BorrowMut<T> for Split<D, S> where T: ?Sized,

impl<T> CloneToUninit for Split<D, S> where T: Clone,

impl<T> From<T> for Split<D, S>

impl<T> IntoEither for Split<D, S>

impl<T> IntoParallelIterator for Split<D, S> where T: ParallelIterator,

impl<T> Pointable for Split<D, S>

impl<T> ToOwned for Split<D, S> where T: Clone,

impl<T, U> Into<U> for Split<D, S> where U: From<T>,

impl<T, U> TryFrom<U> for Split<D, S> where U: Into<T>,

impl<T, U> TryInto<U> for Split<D, S> where U: TryFrom<T>,