Trait SliceArray

Source
pub trait SliceArray<E> {
    // Required method
    fn as_slice(&self) -> &[E];
}
Expand description

Array that returns a slice into its contents

Required Methods§

Source

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

Returns a reference to a slice into the elements of this array.

Implementors§

Source§

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

Source§

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