pub struct MemoryAllocation { /* private fields */ }Expand description
Memory allocation handle
The allocation handle tracks its current position in the pool. During defragmentation, the offset may change, but this is handled transparently through the pool’s relocation table.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryAllocation
impl !RefUnwindSafe for MemoryAllocation
impl Send for MemoryAllocation
impl Sync for MemoryAllocation
impl Unpin for MemoryAllocation
impl UnsafeUnpin for MemoryAllocation
impl !UnwindSafe for MemoryAllocation
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