pub struct Scratch { /* private fields */ }Expand description
Reusable buffers for propagate.
Capacity, not state: two calls with the same world produce the same result whatever this held beforehand. Owned by the caller so the pass can promise no steady-state allocation — hand it the same one every tick and it stops growing once the world stops.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scratch
impl RefUnwindSafe for Scratch
impl Send for Scratch
impl Sync for Scratch
impl Unpin for Scratch
impl UnsafeUnpin for Scratch
impl UnwindSafe for Scratch
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