pub struct HVecStack<T, const N: usize> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<BuiltinTok, SeqTok, const N: usize> ExecutionStack<BuiltinTok, SeqTok> for HVecStack<RuntimeWord<BuiltinTok, SeqTok>, N>
impl<BuiltinTok, SeqTok, const N: usize> ExecutionStack<BuiltinTok, SeqTok> for HVecStack<RuntimeWord<BuiltinTok, SeqTok>, N>
Source§impl<T, const N: usize> Stack for HVecStack<T, N>
impl<T, const N: usize> Stack for HVecStack<T, N>
type Item = T
fn push(&mut self, data: T) -> Result<(), Error>
fn pop(&mut self) -> Result<T, Error>
fn peek_back(&self, back: usize) -> Result<&Self::Item, Error>
fn last(&self) -> Result<&Self::Item, Error>
fn pop_back(&mut self, back: usize) -> Result<Self::Item, Error>
Auto Trait Implementations§
impl<T, const N: usize> Freeze for HVecStack<T, N>where
T: Freeze,
impl<T, const N: usize> RefUnwindSafe for HVecStack<T, N>where
T: RefUnwindSafe,
impl<T, const N: usize> Send for HVecStack<T, N>where
T: Send,
impl<T, const N: usize> Sync for HVecStack<T, N>where
T: Sync,
impl<T, const N: usize> Unpin for HVecStack<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for HVecStack<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