#[repr(C)]pub struct MallocMemoryAllocator { /* private fields */ }Available on crate feature
std only.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
impl ExternType for MallocMemoryAllocator
impl UniquePtrTarget for MallocMemoryAllocator
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