pub fn with_capacity(capacity: usize) -> Bump {
        let chunk_footer = Self::new_chunk(
            None,
            Some(unsafe { layout_from_size_align(capacity, 1) }),
            None,
        );
        Bump {
            current_chunk_footer: Cell::new(chunk_footer),
        }
    }
/// Construct a new arena with the specified capacity to bump allocate into.
///
/// ## Example
///
/// ```
/// let bump = bumpalo::Bump::with_capacity(100);
/// # let _ = bump;
/// ```
Construct a new arena with the specified capacity to bump allocate into.
Construct a new arena with the specified capacity to bump allocate into .
pub fn with_capacity(capacity: usize) -> Bump {
        let chunk_footer = Self::new_chunk(
            None,
            Some(unsafe { layout_from_size_align(capacity, 1) }),
            None,
        );
        Bump {
            current_chunk_footer: Cell::new(chunk_footer),
        }
    }
pub fn with_capacity ( capacity : usize ) -> Bump { let chunk_footer = Self :: new_chunk ( None , Some ( unsafe { layout_from_size_align ( capacity , 1 ) } ) , None , ) ; Bump { current_chunk_footer : Cell :: new ( chunk_footer ) , } }
Construct a new arena with the specified capacity to bump allocate into.
Construct a new arena with the specified capacity to bump allocate into .
capacity
usize
capacity
usize
example
```
let bump = bumpalo::Bump::with_capacity(100).
` ` ` let bump = bumpalo :: Bump :: with_capacity ( 100 ) .
let _ = bump;
None