Trait ParallelExtend
trait ParallelExtend<T>
where
T: Send
ParallelExtend extends an existing collection with items from a ParallelIterator.
Examples
Implementing ParallelExtend for your type:
use *;
use mem;
let mut bh = BlackHole ;
bh.par_extend;
assert_eq!;
bh.par_extend;
assert_eq!;
Required Methods
fn par_extend<I>(self: &mut Self, par_iter: I) where I: IntoParallelIterator<Item = T>Extends an instance of the collection with the elements drawn from the parallel iterator
par_iter.Examples
use *; let mut vec = vec!; vec.par_extend; vec.par_extend; assert_eq!;
Implementors
impl ParallelExtend for std::ffi::OsStringimpl ParallelExtend for Stringimpl<T> ParallelExtend for Vec<T>impl<T> ParallelExtend for std::collections::BTreeSet<T>impl<L, R, T> ParallelExtend for Either<L, R>impl<'a, T, S> ParallelExtend for std::collections::HashSet<T, S>impl<'a> ParallelExtend for std::ffi::OsStringimpl ParallelExtend for Stringimpl<T> ParallelExtend for std::collections::BinaryHeap<T>impl<'a, T> ParallelExtend for Vec<T>impl<'a, T> ParallelExtend for std::collections::BTreeSet<T>impl<T> ParallelExtend for std::collections::LinkedList<T>impl ParallelExtend for Stringimpl<'a> ParallelExtend for Stringimpl<'a, T> ParallelExtend for std::collections::BinaryHeap<T>impl ParallelExtend for ()impl<K, V, S> ParallelExtend for std::collections::HashMap<K, V, S>impl<'a, T> ParallelExtend for std::collections::LinkedList<T>impl<'a> ParallelExtend for Stringimpl<T> ParallelExtend for std::collections::VecDeque<T>impl<K, V> ParallelExtend for std::collections::BTreeMap<K, V>impl<A, B, FromA, FromB> ParallelExtend for (FromA, FromB)impl<'a, K, V, S> ParallelExtend for std::collections::HashMap<K, V, S>impl<'a> ParallelExtend for std::ffi::OsStringimpl<'a> ParallelExtend for Stringimpl<'a, T> ParallelExtend for std::collections::VecDeque<T>impl<'a, K, V> ParallelExtend for std::collections::BTreeMap<K, V>impl<L, R, A, B> ParallelExtend for (A, B)impl<T, S> ParallelExtend for std::collections::HashSet<T, S>