pub struct MemoryPool<T> { /* private fields */ }Expand description
Memory pool for reusing temporary objects
Implementations§
Auto Trait Implementations§
impl<T> Freeze for MemoryPool<T>
impl<T> !RefUnwindSafe for MemoryPool<T>
impl<T> Send for MemoryPool<T>where
T: Send,
impl<T> Sync for MemoryPool<T>where
T: Sync,
impl<T> Unpin for MemoryPool<T>where
T: Unpin,
impl<T> !UnwindSafe for MemoryPool<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