Struct ndarray::RawViewRepr
source · pub struct RawViewRepr<A> { /* private fields */ }
Expand description
Array pointer’s representation.
Don’t use this type directly—use the type aliases
RawArrayView
/ RawArrayViewMut
for the array type!
Trait Implementations§
source§impl<A: Clone> Clone for RawViewRepr<A>
impl<A: Clone> Clone for RawViewRepr<A>
source§fn clone(&self) -> RawViewRepr<A>
fn clone(&self) -> RawViewRepr<A>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<A, B> RawDataSubst<B> for RawViewRepr<*const A>
impl<A, B> RawDataSubst<B> for RawViewRepr<*const A>
§type Output = RawViewRepr<*const B>
type Output = RawViewRepr<*const B>
The resulting array storage of the same kind but substituted element type
source§unsafe fn data_subst(self) -> Self::Output
unsafe fn data_subst(self) -> Self::Output
Unsafely translate the data representation from one element
representation to another. Read more
source§impl<A, B> RawDataSubst<B> for RawViewRepr<*mut A>
impl<A, B> RawDataSubst<B> for RawViewRepr<*mut A>
§type Output = RawViewRepr<*mut B>
type Output = RawViewRepr<*mut B>
The resulting array storage of the same kind but substituted element type
source§unsafe fn data_subst(self) -> Self::Output
unsafe fn data_subst(self) -> Self::Output
Unsafely translate the data representation from one element
representation to another. Read more