pub struct Parallel;Expand description
Always run in parallel on the shared work-stealing pool.
Trait Implementations§
impl Copy for Parallel
Source§impl ExecutionPolicy for Parallel
impl ExecutionPolicy for Parallel
Source§fn parallelize(_len: usize) -> bool
fn parallelize(_len: usize) -> bool
Return
true if an operation over len elements should run in parallel.Source§fn parallelize_pair() -> bool
fn parallelize_pair() -> bool
Return
true if a fixed two-branch operation should run in parallel.Auto Trait Implementations§
impl Freeze for Parallel
impl RefUnwindSafe for Parallel
impl Send for Parallel
impl Sync for Parallel
impl Unpin for Parallel
impl UnsafeUnpin for Parallel
impl UnwindSafe for Parallel
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