pub struct ScratchPoolHandle<'a> { /* private fields */ }Expand description
A handle to a named scratch pool.
Implementations§
Source§impl<'a> ScratchPoolHandle<'a>
impl<'a> ScratchPoolHandle<'a>
Sourcepub fn alloc_slice<T>(&self, count: usize) -> *mut T
pub fn alloc_slice<T>(&self, count: usize) -> *mut T
Allocate a slice from this pool.
Auto Trait Implementations§
impl<'a> Freeze for ScratchPoolHandle<'a>
impl<'a> RefUnwindSafe for ScratchPoolHandle<'a>
impl<'a> !Send for ScratchPoolHandle<'a>
impl<'a> !Sync for ScratchPoolHandle<'a>
impl<'a> Unpin for ScratchPoolHandle<'a>
impl<'a> UnwindSafe for ScratchPoolHandle<'a>
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