pub struct Allocation {
pub addr: u64,
pub len: u32,
}Expand description
One pool allocation.
Fields§
§addr: u64Starting address of the allocation.
len: u32Nonzero descriptor-safe capacity in bytes.
Trait Implementations§
Source§impl Clone for Allocation
impl Clone for Allocation
impl Copy for Allocation
Source§impl Debug for Allocation
impl Debug for Allocation
Source§impl From<BufferElement> for Allocation
impl From<BufferElement> for Allocation
Source§fn from(value: BufferElement) -> Self
fn from(value: BufferElement) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Allocation
impl RefUnwindSafe for Allocation
impl Send for Allocation
impl Sync for Allocation
impl Unpin for Allocation
impl UnsafeUnpin for Allocation
impl UnwindSafe for Allocation
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