pub struct PoolBuffer { /* private fields */ }Expand description
RAII wrapper for pool allocations
Implementations§
Source§impl PoolBuffer
impl PoolBuffer
Sourcepub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
get buffer as mutable slice
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PoolBuffer
impl RefUnwindSafe for PoolBuffer
impl !Send for PoolBuffer
impl !Sync for PoolBuffer
impl Unpin for PoolBuffer
impl UnwindSafe for PoolBuffer
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