pub struct HeapStack<T> { /* private fields */ }Trait Implementations§
Source§impl<T> Stack<T> for HeapStack<T>
impl<T> Stack<T> for HeapStack<T>
fn new() -> Self
fn len(&self) -> usize
fn stack_mut(&mut self) -> &mut [T]
fn reserve(&mut self, size: usize)
fn truncate(&mut self, size: usize)
fn push_value(&mut self, value: T) -> bool
fn pop_value(&mut self) -> Option<T>
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl<T> Freeze for HeapStack<T>
impl<T> RefUnwindSafe for HeapStack<T>where
T: RefUnwindSafe,
impl<T> Send for HeapStack<T>where
T: Send,
impl<T> Sync for HeapStack<T>where
T: Sync,
impl<T> Unpin for HeapStack<T>where
T: Unpin,
impl<T> UnwindSafe for HeapStack<T>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