pub struct MemoryPool { /* private fields */ }
Implementations§
Source§impl MemoryPool
impl MemoryPool
pub fn _rewind<'c, 'd>(self: &'d mut &'c mut MemoryPool) -> MemoryScope<'d>where
'c: 'd,
pub fn _clear<'c, 'd>(self: &'d mut &'c mut MemoryPool) -> MemoryScope<'d>where
'c: 'd,
pub fn shrink(&mut self)
pub fn new() -> MemoryPool
Trait Implementations§
Source§impl Default for MemoryPool
impl Default for MemoryPool
Source§fn default() -> MemoryPool
fn default() -> MemoryPool
Returns the “default value” for a type. Read more
impl Send for MemoryPool
Auto Trait Implementations§
impl Freeze for MemoryPool
impl RefUnwindSafe for MemoryPool
impl !Sync for MemoryPool
impl Unpin for MemoryPool
impl UnwindSafe for MemoryPool
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