[−][src]Trait rust_fp_pfds::stack::Stack
Required methods
pub fn cons(self, value: A) -> Self[src]
pub fn head(&self) -> Result<&A, StackError>[src]
pub fn tail(&self) -> Rc<Self>[src]
pub fn size(&self) -> usize[src]
pub fn update(self, index: u32, new_value: A) -> Result<Self, StackError> where
Self: Sized, [src]
Self: Sized,
pub fn get(&self, i: u32) -> Result<&A, StackError>[src]
Implementors
impl<A> Stack<A> for List<A>[src]
pub fn cons(self, value: A) -> Self[src]
pub fn head(&self) -> Result<&A, StackError>[src]
pub fn tail(&self) -> Rc<Self>[src]
pub fn size(&self) -> usize[src]
pub fn update(self, index: u32, new_value: A) -> Result<Self, StackError> where
Self: Sized, [src]
Self: Sized,