pub trait Access {
// Required methods
fn va_offset(&self) -> usize;
unsafe fn alloc(&mut self, layout: Layout) -> Option<NonNull<u8>>;
unsafe fn dealloc(&mut self, ptr: NonNull<u8>, layout: Layout);
}
pub trait Access {
// Required methods
fn va_offset(&self) -> usize;
unsafe fn alloc(&mut self, layout: Layout) -> Option<NonNull<u8>>;
unsafe fn dealloc(&mut self, ptr: NonNull<u8>, layout: Layout);
}