pub struct Heap<const P: usize> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<const P: usize> GlobalAlloc for Heap<P>
impl<const P: usize> GlobalAlloc for Heap<P>
source§unsafe fn alloc(&self, layout: Layout) -> *mut u8
unsafe fn alloc(&self, layout: Layout) -> *mut u8
Allocate memory as described by the given
layout
. Read moreimpl<const P: usize> Sync for Heap<P>
Auto Trait Implementations§
impl<const P: usize> !RefUnwindSafe for Heap<P>
impl<const P: usize> !Send for Heap<P>
impl<const P: usize> Unpin for Heap<P>
impl<const P: usize> UnwindSafe for Heap<P>
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