Struct SplitInclusive
pub struct SplitInclusive<'data, T, P> { /* private fields */ }
Parallel iterator over slices separated by a predicate, including the matched part as a terminator.
Trait Implementations
impl<'data, T, P> ParallelIterator for SplitInclusive<'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 SplitInclusive<'_, T, P>
fn clone(&self) -> Self
impl<T: Debug, P> Debug for SplitInclusive<'_, T, P>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl<'data, T, P> Freeze for SplitInclusive<'data, T, P>
where
&'data [T]: Freeze,
P: Freeze,
impl<'data, T, P> RefUnwindSafe for SplitInclusive<'data, T, P>
where
&'data [T]: RefUnwindSafe,
P: RefUnwindSafe,
impl<'data, T, P> Send for SplitInclusive<'data, T, P>
where
&'data [T]: Send,
P: Send,
impl<'data, T, P> Sync for SplitInclusive<'data, T, P>
where
&'data [T]: Sync,
P: Sync,
impl<'data, T, P> Unpin for SplitInclusive<'data, T, P>
where
&'data [T]: Unpin,
P: Unpin,
impl<'data, T, P> UnsafeUnpin for SplitInclusive<'data, T, P>
where
&'data [T]: UnsafeUnpin,
P: UnsafeUnpin,
impl<'data, T, P> UnwindSafe for SplitInclusive<'data, T, P>
where
&'data [T]: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for SplitInclusive<'data, T, P>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for SplitInclusive<'data, T, P>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for SplitInclusive<'data, T, P>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for SplitInclusive<'data, T, P>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for SplitInclusive<'data, T, P>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoEither for SplitInclusive<'data, T, P>
impl<T> IntoParallelIterator for SplitInclusive<'data, T, P>
where
T: ParallelIterator,
type Iter = T;type Item = <T as ParallelIterator>::Item;fn into_par_iter(self) -> T
impl<T> Pointable for SplitInclusive<'data, T, P>
const ALIGN: usize = _;type Init = T;unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> ToOwned for SplitInclusive<'data, T, P>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for SplitInclusive<'data, T, P>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for SplitInclusive<'data, T, P>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for SplitInclusive<'data, T, P>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>