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
impl<A: Copy> Copy for RawViewRepr<A>
impl<A> RawDataClone for RawViewRepr<*const A>
impl<A> RawDataClone for RawViewRepr<*mut A>
impl<A> RawDataMut for RawViewRepr<*mut A>
Auto Trait Implementations§
impl<A> RefUnwindSafe for RawViewRepr<A>where A: RefUnwindSafe,
impl<A> Send for RawViewRepr<A>where A: Send,
impl<A> Sync for RawViewRepr<A>where A: Sync,
impl<A> Unpin for RawViewRepr<A>where A: Unpin,
impl<A> UnwindSafe for RawViewRepr<A>where A: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more