Struct convec::ConStack
[−]
[src]
pub struct ConStack<T>(_);
Concurrent stack
Methods
impl<T> ConStack<T>
[src]
fn new() -> Self
[src]
Creates a new ConStack
fn len(&self) -> usize
[src]
Returns the length of the ConStack
fn push(&self, t: T)
[src]
Push an element to the ConStack
fn pop(&self) -> Option<T>
[src]
Pops the last element off the list (if any)