Trait rayon::iter::IntoParallelRefIterator
[−]
[src]
pub trait IntoParallelRefIterator<'data> { type Iter: ParallelIterator<Item = Self::Item>; type Item: Send + 'data; fn par_iter(&'data self) -> Self::Iter; }
IntoParallelRefIterator
implements the conversion to a
ParallelIterator
, providing shared references to the data.
This is a parallel version of the iter()
method
defined by various collections.
This trait is automatically implemented
for I where &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
Implementors
impl<'data, I: 'data + ?Sized> IntoParallelRefIterator<'data> for I where
&'data I: IntoParallelIterator, type Iter = <&'data I as IntoParallelIterator>::Iter; type Item = <&'data I as IntoParallelIterator>::Item;