pub struct PoolPtr {
pub ptr: *mut u8,
}Expand description
Pointer to buffer allocated by BPool::allocate
Fields§
§ptr: *mut u8Raw pointer to the start of a buffer owned by the pool, where the valid memory range is [ptr, ptr + buf_size)
Trait Implementations§
impl Eq for PoolPtr
impl Send for PoolPtr
impl StructuralPartialEq for PoolPtr
impl Sync for PoolPtr
Auto Trait Implementations§
impl Freeze for PoolPtr
impl RefUnwindSafe for PoolPtr
impl Unpin for PoolPtr
impl UnsafeUnpin for PoolPtr
impl UnwindSafe for PoolPtr
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