pub struct PoolBlock { /* private fields */ }Expand description
An address, capacity and pool-defined slot tag, without ownership of memory.
Copying this descriptor grants no permission to access or lend its memory.
Each successful AllocationBuffer::from_pool call establishes one exclusive
loan, and requires the caller to uphold that constructor’s safety contract.
Implementations§
Trait Implementations§
impl Copy for PoolBlock
impl Eq for PoolBlock
impl Send for PoolBlock
impl StructuralPartialEq for PoolBlock
impl Sync for PoolBlock
Auto Trait Implementations§
impl Freeze for PoolBlock
impl RefUnwindSafe for PoolBlock
impl Unpin for PoolBlock
impl UnsafeUnpin for PoolBlock
impl UnwindSafe for PoolBlock
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