[][src]Trait heaparray::SliceArrayRef

pub trait SliceArrayRef<E> {
    fn as_slice(&self) -> &[E];
fn as_slice_mut(&mut self) -> Option<&mut [E]>; }

Array reference that can return a slice into its contents.

Required methods

fn as_slice(&self) -> &[E]

Returns a reference to a slice into this array.

fn as_slice_mut(&mut self) -> Option<&mut [E]>

Returns a mutable reference to a slice into this array.

Loading content...

Implementors

impl<A, R, E, L> SliceArrayRef<E> for RcArray<A, R, E, L> where
    A: LabelledArray<E, R> + BaseArrayRef + SliceArray<E>,
    R: RefCounter<L>, 
[src]

Loading content...