[−][src]Trait tract_core::internal::tract_ndarray::Data
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]
pub fn into_owned<D>(
self_: ArrayBase<CowRepr<'a, A>, D>
) -> ArrayBase<OwnedRepr<<CowRepr<'a, A> as RawData>::Elem>, D> where
D: Dimension,
A: Clone,
[src]
self_: ArrayBase<CowRepr<'a, A>, D>
) -> ArrayBase<OwnedRepr<<CowRepr<'a, A> as RawData>::Elem>, D> where
D: Dimension,
A: Clone,
impl<'a, A> Data for ViewRepr<&'a A>
[src]
pub fn into_owned<D>(
self_: ArrayBase<ViewRepr<&'a A>, D>
) -> ArrayBase<OwnedRepr<<ViewRepr<&'a A> as RawData>::Elem>, D> where
D: Dimension,
<ViewRepr<&'a A> as RawData>::Elem: Clone,
[src]
self_: ArrayBase<ViewRepr<&'a A>, D>
) -> ArrayBase<OwnedRepr<<ViewRepr<&'a A> as RawData>::Elem>, D> where
D: Dimension,
<ViewRepr<&'a A> as RawData>::Elem: Clone,
impl<'a, A> Data for ViewRepr<&'a mut A>
[src]
pub fn into_owned<D>(
self_: ArrayBase<ViewRepr<&'a mut A>, D>
) -> ArrayBase<OwnedRepr<<ViewRepr<&'a mut A> as RawData>::Elem>, D> where
D: Dimension,
<ViewRepr<&'a mut A> as RawData>::Elem: Clone,
[src]
self_: ArrayBase<ViewRepr<&'a mut A>, D>
) -> ArrayBase<OwnedRepr<<ViewRepr<&'a mut A> as RawData>::Elem>, D> where
D: Dimension,
<ViewRepr<&'a mut A> as RawData>::Elem: Clone,
impl<A> Data for OwnedArcRepr<A>
[src]
pub fn into_owned<D>(
self_: ArrayBase<OwnedArcRepr<A>, D>
) -> ArrayBase<OwnedRepr<<OwnedArcRepr<A> as RawData>::Elem>, D> where
D: Dimension,
A: Clone,
[src]
self_: ArrayBase<OwnedArcRepr<A>, D>
) -> ArrayBase<OwnedRepr<<OwnedArcRepr<A> as RawData>::Elem>, D> where
D: Dimension,
A: Clone,