pub struct RustAllocator;Expand description
Allocator type that uses the Rust-registered allocator.
Trait Implementations§
Source§impl AllocatorType for RustAllocator
impl AllocatorType for RustAllocator
Source§fn allocator() -> ddwaf_allocator
fn allocator() -> ddwaf_allocator
Get the allocator to use for deallocation.
Auto Trait Implementations§
impl Freeze for RustAllocator
impl RefUnwindSafe for RustAllocator
impl Send for RustAllocator
impl Sync for RustAllocator
impl Unpin for RustAllocator
impl UnwindSafe for RustAllocator
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