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>
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 + Sendimpl<K, V> FromParallelIterator<(K, V)> for BTreeMap<K, V> where K: Ord + Send,
V: Sendimpl<V, S> FromParallelIterator<V> for HashSet<V, S> where V: Eq + Hash + Send,
S: BuildHasher + Default + Sendimpl<V> FromParallelIterator<V> for BTreeSet<V> where V: Send + Ord
impl FromParallelIterator<char> for collections::string::String
impl<'a> FromParallelIterator<&'a str> for collections::string::String
impl FromParallelIterator<String> for collections::string::String