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