pub struct DynSpace<T> { /* private fields */ }
Expand description
Struct which handles workspace at run-time.
A new Vec
is created every time workspace()
is called.
This may impact performance as we always allocate memory. However this allows safe concurrency.
Implementations§
Trait Implementations§
impl<T: Copy> Copy for DynSpace<T>
impl<T> StructuralPartialEq for DynSpace<T>
Auto Trait Implementations§
impl<T> Freeze for DynSpace<T>
impl<T> RefUnwindSafe for DynSpace<T>
impl<T> Send for DynSpace<T>
impl<T> Sync for DynSpace<T>
impl<T> Unpin for DynSpace<T>
impl<T> UnwindSafe for DynSpace<T>
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