pub fn run_on_pool<'a, F: FnOnce() + Send + 'a>(
jobs: impl IntoIterator<Item = F>,
)Expand description
Run jobs on the rayon pool and wait for all of them. Pool threads do not
have the caller’s FPU state, so every job runs under it. Without the
parallel feature, or with a single thread, the jobs run in order on the
calling thread.