pub struct MallocMemoryAllocator { /* private fields */ }Expand description
Dynamically allocates memory using malloc() and frees all pointers at destruction time.
For systems with malloc(), this can be easier than using a fixed-sized MemoryAllocator.
Trait Implementations§
Source§impl ExternType for MallocMemoryAllocator
Available on crate feature std only.
impl ExternType for MallocMemoryAllocator
Available on crate feature
std only.impl UniquePtrTarget for MallocMemoryAllocator
Available on crate feature
std only.Auto Trait Implementations§
impl !Freeze for MallocMemoryAllocator
impl RefUnwindSafe for MallocMemoryAllocator
impl !Send for MallocMemoryAllocator
impl !Sync for MallocMemoryAllocator
impl !Unpin for MallocMemoryAllocator
impl UnwindSafe for MallocMemoryAllocator
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