pub struct ZipChunks<'data, T: Send, I: Iterator> { /* private fields */ }Expand description
Zips ChunksMut with any iterator. The shorter side determines
how many pairs are produced (like Iterator::zip).
Trait Implementations§
Source§impl<'data, T, I> ParallelZonedIterator for ZipChunks<'data, T, I>
impl<'data, T, I> ParallelZonedIterator for ZipChunks<'data, T, I>
Source§type Item = (&'data mut [T], <I as Iterator>::Item)
type Item = (&'data mut [T], <I as Iterator>::Item)
The type of item that this parallel iterator produces.
For example, if you use the
for_each method, this is the type of
item that your closure will be invoked with.fn for_each<'scope, F>(self, pool: &ThreadPool, f: F)
fn for_each_enumerated<'scope, F>(self, pool: &ThreadPool, f: F)
Auto Trait Implementations§
impl<'data, T, I> Freeze for ZipChunks<'data, T, I>where
I: Freeze,
impl<'data, T, I> RefUnwindSafe for ZipChunks<'data, T, I>where
I: RefUnwindSafe,
T: RefUnwindSafe,
impl<'data, T, I> Send for ZipChunks<'data, T, I>where
I: Send,
impl<'data, T, I> Sync for ZipChunks<'data, T, I>
impl<'data, T, I> Unpin for ZipChunks<'data, T, I>where
I: Unpin,
impl<'data, T, I> UnsafeUnpin for ZipChunks<'data, T, I>where
I: UnsafeUnpin,
impl<'data, T, I> !UnwindSafe for ZipChunks<'data, T, I>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more