Trait ndarray::Data[][src]

pub unsafe trait Data: RawData { }
Expand description

Array representation trait.

For an array with elements that can be accessed with safe code.

Internal trait, see RawData.

Implementors

impl<'a, A> Data for CowRepr<'a, A>[src]

fn into_owned<D>(
    self_: ArrayBase<CowRepr<'a, A>, D>
) -> ArrayBase<OwnedRepr<Self::Elem>, D> where
    A: Clone,
    D: Dimension
[src]

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

fn into_owned<D>(
    self_: ArrayBase<Self, D>
) -> ArrayBase<OwnedRepr<Self::Elem>, D> where
    Self::Elem: Clone,
    D: Dimension
[src]

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

fn into_owned<D>(
    self_: ArrayBase<Self, D>
) -> ArrayBase<OwnedRepr<Self::Elem>, D> where
    Self::Elem: Clone,
    D: Dimension
[src]

impl<A> Data for OwnedArcRepr<A>[src]

fn into_owned<D>(
    self_: ArrayBase<Self, D>
) -> ArrayBase<OwnedRepr<Self::Elem>, D> where
    A: Clone,
    D: Dimension
[src]

fn to_shared<D>(
    self_: &ArrayBase<Self, D>
) -> ArrayBase<OwnedArcRepr<Self::Elem>, D> where
    Self::Elem: Clone,
    D: Dimension
[src]

impl<A> Data for OwnedRepr<A>[src]

fn into_owned<D>(
    self_: ArrayBase<Self, D>
) -> ArrayBase<OwnedRepr<Self::Elem>, D> where
    A: Clone,
    D: Dimension
[src]