pub struct RustyAlloc;Expand description
The global allocator handle (zero-sized).
Trait Implementations§
Source§impl GlobalAlloc for RustyAlloc
impl GlobalAlloc for RustyAlloc
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 moreAuto Trait Implementations§
impl Freeze for RustyAlloc
impl RefUnwindSafe for RustyAlloc
impl Send for RustyAlloc
impl Sync for RustyAlloc
impl Unpin for RustyAlloc
impl UnsafeUnpin for RustyAlloc
impl UnwindSafe for RustyAlloc
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