[][src]Trait bevy_tasks::ParallelSliceMut

pub trait ParallelSliceMut<T: Send>: AsMut<[T]> {
    fn par_chunk_map_mut<F, R>(
        &mut self,
        task_pool: &TaskPool,
        chunk_size: usize,
        f: F
    ) -> Vec<R>
    where
        F: Fn(&mut [T]) -> R + Send + Sync,
        R: Send + 'static
, { ... }
fn par_splat_map_mut<F, R>(
        &mut self,
        task_pool: &TaskPool,
        max_tasks: Option<usize>,
        f: F
    ) -> Vec<R>
    where
        F: Fn(&mut [T]) -> R + Send + Sync,
        R: Send + 'static
, { ... } }

Provided methods

fn par_chunk_map_mut<F, R>(
    &mut self,
    task_pool: &TaskPool,
    chunk_size: usize,
    f: F
) -> Vec<R> where
    F: Fn(&mut [T]) -> R + Send + Sync,
    R: Send + 'static, 

fn par_splat_map_mut<F, R>(
    &mut self,
    task_pool: &TaskPool,
    max_tasks: Option<usize>,
    f: F
) -> Vec<R> where
    F: Fn(&mut [T]) -> R + Send + Sync,
    R: Send + 'static, 

Loading content...

Implementors

impl<S, T: Send> ParallelSliceMut<T> for S where
    S: AsMut<[T]>, 
[src]

Loading content...