logo

Trait bevy::tasks::ParallelSliceMut[]

pub trait ParallelSliceMut<T>: AsMut<[T]> where
    T: Send
{ fn par_chunk_map_mut<F, R>(
        &mut self,
        task_pool: &TaskPool,
        chunk_size: usize,
        f: F
    ) -> Vec<R, Global>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator

    where
        F: Fn(&mut [T]) -> R + Send + Sync,
        R: 'static + Send
, { ... }
fn par_splat_map_mut<F, R>(
        &mut self,
        task_pool: &TaskPool,
        max_tasks: Option<usize>,
        f: F
    ) -> Vec<R, Global>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator

    where
        F: Fn(&mut [T]) -> R + Send + Sync,
        R: 'static + Send
, { ... } }

Provided methods

Implementors