[][src]Trait heaparray::thin_array_ptr::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, A, R, E, L> Container<(usize, E)> for heaparray::naive_rc::generic::RcArray<'a, A, R, E, L> where
    A: 'a + LabelledArray<'a, E, R> + BaseArrayRef + UnsafeArrayRef,
    R: 'a + RefCounter<L>,
    L: 'a,
    E: 'a, 
[src]

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

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

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

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

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

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

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

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

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

Loading content...