pub struct BatchProcessor { /* private fields */ }Expand description
Batch processor that applies multiple commands efficiently
Implementations§
Source§impl BatchProcessor
impl BatchProcessor
pub fn new() -> Self
pub fn with_transform(self, transform_fn: fn(&mut Command)) -> Self
pub fn with_parallel(self, parallel: bool) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Forget for BatchProcessor
impl Freeze for BatchProcessor
impl Move for BatchProcessor
impl RefUnwindSafe for BatchProcessor
impl Send for BatchProcessor
impl Sync for BatchProcessor
impl Unpin for BatchProcessor
impl UnsafeUnpin for BatchProcessor
impl UnwindSafe for BatchProcessor
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