[−][src]Struct tract_hir::internal::tract_ndarray::RawViewRepr
Array pointer’s representation.
Don’t use this type directly—use the type aliases
RawArrayView
/
RawArrayViewMut
for the array type!
Trait Implementations
impl<A> Clone for RawViewRepr<A> where
A: Clone,
[src]
A: Clone,
fn clone(&self) -> RawViewRepr<A>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A> Copy for RawViewRepr<A> where
A: Copy,
[src]
A: Copy,
impl<A> RawData for RawViewRepr<*const A>
[src]
type Elem = A
The array element type.
fn _data_slice(&self) -> Option<&[A]>
[src]
fn __private__(&self) -> PrivateMarker
[src]
impl<A> RawData for RawViewRepr<*mut A>
[src]
type Elem = A
The array element type.
fn _data_slice(&self) -> Option<&[A]>
[src]
fn __private__(&self) -> PrivateMarker
[src]
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>)
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> RawDataMut for RawViewRepr<*mut A>
[src]
fn try_ensure_unique<D>(&mut ArrayBase<RawViewRepr<*mut A>, D>) where
D: Dimension,
RawViewRepr<*mut A>: Sized,
[src]
D: Dimension,
RawViewRepr<*mut A>: Sized,
fn try_is_unique(&mut self) -> Option<bool>
[src]
Auto Trait Implementations
impl<A> RefUnwindSafe for RawViewRepr<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for RawViewRepr<A> where
A: Send,
A: Send,
impl<A> Sync for RawViewRepr<A> where
A: Sync,
A: Sync,
impl<A> Unpin for RawViewRepr<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for RawViewRepr<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> 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>,