[][src]Trait rs_graph::collections::ItemStack

pub trait ItemStack<I> {
    fn len(&self) -> usize;
fn clear(&mut self);
fn push(&mut self, u: I);
fn pop(&mut self) -> Option<I>;
fn top(&self) -> Option<&I>;
fn top_mut(&mut self) -> Option<&mut I>; fn is_empty(&self) -> bool { ... } }

Required methods

fn len(&self) -> usize

fn clear(&mut self)

fn push(&mut self, u: I)

fn pop(&mut self) -> Option<I>

fn top(&self) -> Option<&I>

fn top_mut(&mut self) -> Option<&mut I>

Loading content...

Provided methods

fn is_empty(&self) -> bool

Loading content...

Implementations on Foreign Types

impl<'a, I, D> ItemStack<I> for &'a mut D where
    D: ItemStack<I>, 
[src]

impl<I> ItemStack<I> for Vec<I>[src]

Loading content...

Implementors

Loading content...