pub struct BumpArena { /* private fields */ }Expand description
A simple bump allocator for byte slices.
Memory is allocated sequentially; deallocation of individual items is not supported. The entire arena can be reset at once.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BumpArena
impl RefUnwindSafe for BumpArena
impl Send for BumpArena
impl Sync for BumpArena
impl Unpin for BumpArena
impl UnsafeUnpin for BumpArena
impl UnwindSafe for BumpArena
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