pub struct B2growableStack<T: Copy + Default, const N: usize> { /* private fields */ }Expand description
This is a growable LIFO stack with an initial capacity of n. If the stack size exceeds the initial capacity, the heap is used to increase the size of the stack.
Implementations§
Auto Trait Implementations§
impl<T, const N: usize> Freeze for B2growableStack<T, N>where
T: Freeze,
impl<T, const N: usize> RefUnwindSafe for B2growableStack<T, N>where
T: RefUnwindSafe,
impl<T, const N: usize> Send for B2growableStack<T, N>where
T: Send,
impl<T, const N: usize> Sync for B2growableStack<T, N>where
T: Sync,
impl<T, const N: usize> Unpin for B2growableStack<T, N>where
T: Unpin,
impl<T, const N: usize> UnsafeUnpin for B2growableStack<T, N>where
T: UnsafeUnpin,
impl<T, const N: usize> UnwindSafe for B2growableStack<T, N>where
T: UnwindSafe,
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