Struct ndarray::ViewRepr [] [src]

pub struct ViewRepr<A> {
    // some fields omitted
}

Array view’s representation.

Trait Implementations

impl<'a, A> Data for ViewRepr<&'a A>

type Elem = A

fn slice(&self) -> &[A]

impl<'a, A> DataClone for ViewRepr<&'a A>

unsafe fn clone_with_ptr(&self, ptr: *mut Self::Elem) -> (Self, *mut Self::Elem)

impl<'a, A> Data for ViewRepr<&'a mut A>

type Elem = A

fn slice(&self) -> &[A]

impl<'a, A> DataMut for ViewRepr<&'a mut A>

fn slice_mut(&mut self) -> &mut [A]

fn ensure_unique<D>(&mut ArrayBase<Self, D>) where Self: Sized, D: Dimension

fn is_unique(&mut self) -> bool

impl<'a, A> DataShared for ViewRepr<&'a A>

Derived Implementations

impl<A: Clone> Clone for ViewRepr<A>

fn clone(&self) -> ViewRepr<A>

1.0.0fn clone_from(&mut self, source: &Self)

impl<A: Copy> Copy for ViewRepr<A>