pub struct ZephyrAllocator;
Expand description
An allocator that uses Zephyr’s allocation primitives.
This is exported for documentation purposes, this module does contain an instance of the allocator as well.
Trait Implementations§
source§impl GlobalAlloc for ZephyrAllocator
impl GlobalAlloc for ZephyrAllocator
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 ZephyrAllocator
impl RefUnwindSafe for ZephyrAllocator
impl Send for ZephyrAllocator
impl Sync for ZephyrAllocator
impl Unpin for ZephyrAllocator
impl UnwindSafe for ZephyrAllocator
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