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>
[src]

type Elem = A

The array element type.

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

impl<'a, A> DataClone for ViewRepr<&'a A>
[src]

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

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

type Elem = A

The array element type.

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

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

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

impl<'a, A> DataShared for ViewRepr<&'a A>
[src]

impl<A: Clone> Clone for ViewRepr<A>
[src]

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

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl<A: Copy> Copy for ViewRepr<A>
[src]