Trait rayon::iter::IntoParallelRefMutIterator
[−]
[src]
pub trait IntoParallelRefMutIterator<'data> { type Iter: ParallelIterator<Item = Self::Item>; type Item: Send + 'data; fn par_iter_mut(&'data mut self) -> Self::Iter; }
IntoParallelRefMutIterator
implements the conversion to a
ParallelIterator
, providing mutable references to the data.
This is a parallel version of the iter_mut()
method
defined by various collections.
This trait is automatically implemented
for I where &mut I: IntoParallelIterator
. In most cases, users
will want to implement IntoParallelIterator
rather than implement
this trait directly.
Associated Types
type Iter: ParallelIterator<Item = Self::Item>
type Item: Send + 'data
Required Methods
fn par_iter_mut(&'data mut self) -> Self::Iter
Implementors
impl<'data, I: 'data + ?Sized> IntoParallelRefMutIterator<'data> for I where
&'data mut I: IntoParallelIterator, type Iter = <&'data mut I as IntoParallelIterator>::Iter; type Item = <&'data mut I as IntoParallelIterator>::Item;