pub struct OrcaScratch { /* private fields */ }Expand description
Reusable buffers for new_velocity_in, so a caller solving for a crowd allocates nothing after
the first call.
Own one per solver (or per thread) and pass it in; it is cleared at the start of every call and never shrinks, so it grows to the widest call the caller ever makes and stays there.
Trait Implementations§
Source§impl Debug for OrcaScratch
impl Debug for OrcaScratch
Auto Trait Implementations§
impl Freeze for OrcaScratch
impl RefUnwindSafe for OrcaScratch
impl Send for OrcaScratch
impl Sync for OrcaScratch
impl Unpin for OrcaScratch
impl UnsafeUnpin for OrcaScratch
impl UnwindSafe for OrcaScratch
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