pub struct LHeap;Expand description
Live heap that performs actual memory operations.
Implementations§
Trait Implementations§
Source§impl IHeap<&'static Shape> for LHeap
impl IHeap<&'static Shape> for LHeap
Source§unsafe fn alloc(&mut self, shape: &'static Shape) -> *mut u8
unsafe fn alloc(&mut self, shape: &'static Shape) -> *mut u8
Allocate a region for a value of the given shape. Read more
Source§unsafe fn dealloc(&mut self, ptr: *mut u8, shape: &'static Shape)
unsafe fn dealloc(&mut self, ptr: *mut u8, shape: &'static Shape)
Deallocate a region. Read more
Auto Trait Implementations§
impl Freeze for LHeap
impl RefUnwindSafe for LHeap
impl Send for LHeap
impl Sync for LHeap
impl Unpin for LHeap
impl UnsafeUnpin for LHeap
impl UnwindSafe for LHeap
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