pub struct StackStack<T: Copy + Default, const STACK_SIZE: usize> { /* private fields */ }Expand description
A stack data structure implemented on the stack with fixed capacity.
Trait Implementations§
Source§impl<T: Copy + Default, const STACK_SIZE: usize> FastStack<T> for StackStack<T, STACK_SIZE>
impl<T: Copy + Default, const STACK_SIZE: usize> FastStack<T> for StackStack<T, STACK_SIZE>
Auto Trait Implementations§
impl<T, const STACK_SIZE: usize> Freeze for StackStack<T, STACK_SIZE>where
T: Freeze,
impl<T, const STACK_SIZE: usize> RefUnwindSafe for StackStack<T, STACK_SIZE>where
T: RefUnwindSafe,
impl<T, const STACK_SIZE: usize> Send for StackStack<T, STACK_SIZE>where
T: Send,
impl<T, const STACK_SIZE: usize> Sync for StackStack<T, STACK_SIZE>where
T: Sync,
impl<T, const STACK_SIZE: usize> Unpin for StackStack<T, STACK_SIZE>where
T: Unpin,
impl<T, const STACK_SIZE: usize> UnwindSafe for StackStack<T, STACK_SIZE>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