pub struct WorkerThreads {
pub nthreads: usize,
}Fields§
§nthreads: usizeImplementations§
Source§impl WorkerThreads
impl WorkerThreads
pub fn run<I, F, V>(self, task: ParallelForEach<V, F, I>)
pub fn run_mut<I, F, V>(self, task: ParallelForEachMut<V, F, I>)
pub fn collect<I, F, T, V, C>(self, task: ParallelMap<V, F, T, I>) -> C
Auto Trait Implementations§
impl Freeze for WorkerThreads
impl RefUnwindSafe for WorkerThreads
impl Send for WorkerThreads
impl Sync for WorkerThreads
impl Unpin for WorkerThreads
impl UnwindSafe for WorkerThreads
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