[−][src]Trait tract_hir::prelude::tract_ndarray::RawDataClone
Array representation trait.
An array representation that can be cloned.
Internal trait, see RawData
.
Implementors
impl<'a, A> RawDataClone for CowRepr<'a, A> where
A: Clone,
[src]
A: Clone,
unsafe fn clone_with_ptr(
&self,
ptr: NonNull<<CowRepr<'a, A> as RawData>::Elem>
) -> (CowRepr<'a, A>, NonNull<<CowRepr<'a, A> as RawData>::Elem>)
[src]
&self,
ptr: NonNull<<CowRepr<'a, A> as RawData>::Elem>
) -> (CowRepr<'a, A>, NonNull<<CowRepr<'a, A> as RawData>::Elem>)
impl<'a, A> RawDataClone for ViewRepr<&'a A>
[src]
unsafe fn clone_with_ptr(
&self,
ptr: NonNull<<ViewRepr<&'a A> as RawData>::Elem>
) -> (ViewRepr<&'a A>, NonNull<<ViewRepr<&'a A> as RawData>::Elem>)
[src]
&self,
ptr: NonNull<<ViewRepr<&'a A> as RawData>::Elem>
) -> (ViewRepr<&'a A>, NonNull<<ViewRepr<&'a A> as RawData>::Elem>)
impl<A> RawDataClone for OwnedArcRepr<A>
[src]
unsafe fn clone_with_ptr(
&self,
ptr: NonNull<<OwnedArcRepr<A> as RawData>::Elem>
) -> (OwnedArcRepr<A>, NonNull<<OwnedArcRepr<A> as RawData>::Elem>)
[src]
&self,
ptr: NonNull<<OwnedArcRepr<A> as RawData>::Elem>
) -> (OwnedArcRepr<A>, NonNull<<OwnedArcRepr<A> as RawData>::Elem>)
impl<A> RawDataClone for OwnedRepr<A> where
A: Clone,
[src]
A: Clone,
unsafe fn clone_with_ptr(
&self,
ptr: NonNull<<OwnedRepr<A> as RawData>::Elem>
) -> (OwnedRepr<A>, NonNull<<OwnedRepr<A> as RawData>::Elem>)
[src]
&self,
ptr: NonNull<<OwnedRepr<A> as RawData>::Elem>
) -> (OwnedRepr<A>, NonNull<<OwnedRepr<A> as RawData>::Elem>)
unsafe fn clone_from_with_ptr(
&mut self,
other: &OwnedRepr<A>,
ptr: NonNull<<OwnedRepr<A> as RawData>::Elem>
) -> NonNull<<OwnedRepr<A> as RawData>::Elem>
[src]
&mut self,
other: &OwnedRepr<A>,
ptr: NonNull<<OwnedRepr<A> as RawData>::Elem>
) -> NonNull<<OwnedRepr<A> as RawData>::Elem>
impl<A> RawDataClone for RawViewRepr<*const A>
[src]
unsafe fn clone_with_ptr(
&self,
ptr: NonNull<<RawViewRepr<*const A> as RawData>::Elem>
) -> (RawViewRepr<*const A>, NonNull<<RawViewRepr<*const A> as RawData>::Elem>)
[src]
&self,
ptr: NonNull<<RawViewRepr<*const A> as RawData>::Elem>
) -> (RawViewRepr<*const A>, NonNull<<RawViewRepr<*const A> as RawData>::Elem>)
impl<A> RawDataClone for RawViewRepr<*mut A>
[src]
unsafe fn clone_with_ptr(
&self,
ptr: NonNull<<RawViewRepr<*mut A> as RawData>::Elem>
) -> (RawViewRepr<*mut A>, NonNull<<RawViewRepr<*mut A> as RawData>::Elem>)
[src]
&self,
ptr: NonNull<<RawViewRepr<*mut A> as RawData>::Elem>
) -> (RawViewRepr<*mut A>, NonNull<<RawViewRepr<*mut A> as RawData>::Elem>)