pub struct ArenaOptions {
pub initial_size: usize,
}Expand description
Options for creating a new arena.
Fields§
§initial_size: usizeSize of the initial arena for nodes. This defaults to 1024.
Trait Implementations§
Source§impl Clone for ArenaOptions
impl Clone for ArenaOptions
Source§fn clone(&self) -> ArenaOptions
fn clone(&self) -> ArenaOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArenaOptions
impl Debug for ArenaOptions
Source§impl Default for ArenaOptions
impl Default for ArenaOptions
impl Copy for ArenaOptions
Auto Trait Implementations§
impl Freeze for ArenaOptions
impl RefUnwindSafe for ArenaOptions
impl Send for ArenaOptions
impl Sync for ArenaOptions
impl Unpin for ArenaOptions
impl UnsafeUnpin for ArenaOptions
impl UnwindSafe for ArenaOptions
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