pub struct NoDealloc;Expand description
No-op deallocator for caller-managed memory.
Use when the caller retains responsibility for freeing the backing memory after the arena drops (e.g. static buffers, linker-placed memory in embedded/no_std).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoDealloc
impl RefUnwindSafe for NoDealloc
impl Send for NoDealloc
impl Sync for NoDealloc
impl Unpin for NoDealloc
impl UnsafeUnpin for NoDealloc
impl UnwindSafe for NoDealloc
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