[][src]Trait heaparray::Container

pub trait Container<E> {
    fn add(&mut self, element: E);
fn len(&self) -> usize; }

Trait for a simple container.

Required methods

fn add(&mut self, element: E)

Add an element to the container.

fn len(&self) -> usize

Get the size of the container.

Loading content...

Implementors

impl<'a, L, E> Container<(usize, E)> for FatPtrArray<'a, L, E>[src]

impl<'a, L, E> Container<(usize, E)> for ThinPtrArray<'a, L, E>[src]

Loading content...