Trait rayon::iter::FromParallelIterator
[−]
[src]
pub trait FromParallelIterator<T> where
T: Send, { fn from_par_iter<I>(par_iter: I) -> Self
where
I: IntoParallelIterator<Item = T>; }
FromParallelIterator
implements the conversion from a ParallelIterator
.
By implementing FromParallelIterator
for a type, you define how it will be
created from an iterator.
FromParallelIterator
is used through ParallelIterator
's collect()
method.
Required Methods
fn from_par_iter<I>(par_iter: I) -> Self where
I: IntoParallelIterator<Item = T>,
I: IntoParallelIterator<Item = T>,
Implementors
impl<T> FromParallelIterator<T> for Vec<T> where
T: Send,impl<T> FromParallelIterator<T> for VecDeque<T> where
T: Send,impl<T> FromParallelIterator<T> for BinaryHeap<T> where
T: Ord + Send,impl<T> FromParallelIterator<T> for LinkedList<T> where
T: Send,impl<K, V, S> FromParallelIterator<(K, V)> for HashMap<K, V, S> where
K: Eq + Hash + Send,
V: Send,
S: BuildHasher + Default + Send,impl<K, V> FromParallelIterator<(K, V)> for BTreeMap<K, V> where
K: Ord + Send,
V: Send,impl<V, S> FromParallelIterator<V> for HashSet<V, S> where
V: Eq + Hash + Send,
S: BuildHasher + Default + Send,impl<V> FromParallelIterator<V> for BTreeSet<V> where
V: Send + Ord,impl FromParallelIterator<char> for String
impl<'a> FromParallelIterator<&'a char> for String
impl<'a> FromParallelIterator<&'a str> for String
impl FromParallelIterator<String> for String
impl<'a, C: ?Sized, T> FromParallelIterator<T> for Cow<'a, C> where
C: ToOwned,
C::Owned: FromParallelIterator<T>,
T: Send,impl<'a, C, T> FromParallelIterator<Option<T>> for Option<C> where
C: FromParallelIterator<T>,
T: Send,impl<'a, C, T, E> FromParallelIterator<Result<T, E>> for Result<C, E> where
C: FromParallelIterator<T>,
T: Send,
E: Send,