[−][src]Struct tract_tensorflow::prelude::tract_ndarray::ViewRepr
Array view’s representation.
Don’t use this type directly—use the type aliases
ArrayView
/ ArrayViewMut
for the array type!
Trait Implementations
impl<A> Clone for ViewRepr<A> where
A: Clone,
[src]
A: Clone,
impl<A> Copy for ViewRepr<A> where
A: Copy,
[src]
A: Copy,
impl<'a, A> Data for ViewRepr<&'a mut A>
[src]
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, A> Data for ViewRepr<&'a A>
[src]
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> DataMut for ViewRepr<&'a mut A>
[src]
impl<'a, A> DataShared for ViewRepr<&'a A>
[src]
impl<'a, A> RawData for ViewRepr<&'a A>
[src]
type Elem = A
The array element type.
fn _data_slice(&self) -> Option<&[A]>
[src]
fn __private__(&self) -> PrivateMarker
[src]
impl<'a, A> RawData for ViewRepr<&'a mut A>
[src]
type Elem = A
The array element type.
fn _data_slice(&self) -> Option<&[A]>
[src]
fn __private__(&self) -> PrivateMarker
[src]
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, A> RawDataMut for ViewRepr<&'a mut A>
[src]
Auto Trait Implementations
impl<A> RefUnwindSafe for ViewRepr<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for ViewRepr<A> where
A: Send,
A: Send,
impl<A> Sync for ViewRepr<A> where
A: Sync,
A: Sync,
impl<A> Unpin for ViewRepr<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for ViewRepr<A> where
A: UnwindSafe,
A: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> DataClone for T where
T: Data + RawDataClone,
[src]
T: Data + RawDataClone,
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>ⓘ
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,