pub struct Frusa4K { /* private fields */ }Expand description
An allocator that manages allocations below 4K and uses the fallback allocator for the rest.
Implementations§
Trait Implementations§
Source§impl GlobalAlloc for Frusa4K
impl GlobalAlloc for Frusa4K
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 Send for Frusa4K
impl Sync for Frusa4K
Auto Trait Implementations§
impl !Freeze for Frusa4K
impl !RefUnwindSafe for Frusa4K
impl Unpin for Frusa4K
impl !UnwindSafe for Frusa4K
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