pub struct ParMap {
pub size: usize,
pub config: ParallelConfig,
}Expand description
Parallel map descriptor.
result = parMap(f, input)
// Equivalent to: result[i] = f(input[i]) for all i, in parallelFields§
§size: usizeNumber of elements.
config: ParallelConfigParallel configuration.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParMap
impl RefUnwindSafe for ParMap
impl Send for ParMap
impl Sync for ParMap
impl Unpin for ParMap
impl UnsafeUnpin for ParMap
impl UnwindSafe for ParMap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more