pub fn with_capacity(capacity: usize) -> Self {
        Self {
            stack: Vec::with_capacity(capacity),
            stack_bottom: 0,
        }
    }
/// Construct a new stack with the given capacity.
Construct a new stack with the given capacity.
Construct a new stack with the given capacity .
pub fn with_capacity(capacity: usize) -> Self {
        Self {
            stack: Vec::with_capacity(capacity),
            stack_bottom: 0,
        }
    }
pub fn with_capacity ( capacity : usize ) -> Self { Self { stack : Vec :: with_capacity ( capacity ) , stack_bottom : 0 , } }
Construct a new stack with the given capacity.
Construct a new stack with the given capacity .
capacity
usize
capacity
usize