Trait Container

Source
pub trait Container {
    // Required method
    fn len(&self) -> usize;
}
Expand description

Trait for a simple container.

Required Methods§

Source

fn len(&self) -> usize

Get the size of the container.

Implementors§

Source§

impl<A, R, E, L> Container for RcArray<A, R, E, L>
where A: LabelledArray<E, R>, R: RefCounter<L>,

Source§

impl<E, L, P> Container for SafeArray<E, L, P>
where P: SafeArrayPtr<E, L>,