Struct ndarray::RawViewRepr [−][src]
pub struct RawViewRepr<A> { /* fields omitted */ }
Expand description
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> Clone for RawViewRepr<A>
[src]
impl<A: Clone> Clone for RawViewRepr<A>
[src]fn clone(&self) -> RawViewRepr<A>
[src]
fn clone(&self) -> RawViewRepr<A>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<A> RawData for RawViewRepr<*const A>
[src]
impl<A> RawData for RawViewRepr<*const A>
[src]type Elem = A
type Elem = A
The array element type.
fn _data_slice(&self) -> Option<&[A]>
[src]
fn _is_pointer_inbounds(&self, _ptr: *const Self::Elem) -> bool
[src]
fn __private__(&self) -> PrivateMarker
[src]
fn __private__(&self) -> PrivateMarker
[src]This trait is private to implement; this method exists to make it impossible to implement outside the crate. Read more
impl<A> RawData for RawViewRepr<*mut A>
[src]
impl<A> RawData for RawViewRepr<*mut A>
[src]type Elem = A
type Elem = A
The array element type.
fn _data_slice(&self) -> Option<&[A]>
[src]
fn _is_pointer_inbounds(&self, _ptr: *const Self::Elem) -> bool
[src]
fn __private__(&self) -> PrivateMarker
[src]
fn __private__(&self) -> PrivateMarker
[src]This trait is private to implement; this method exists to make it impossible to implement outside the crate. Read more
impl<A> RawDataClone for RawViewRepr<*const A>
[src]
impl<A> RawDataClone for RawViewRepr<*const A>
[src]impl<A> RawDataClone for RawViewRepr<*mut A>
[src]
impl<A> RawDataClone for RawViewRepr<*mut A>
[src]impl<A> RawDataMut for RawViewRepr<*mut A>
[src]
impl<A> RawDataMut for RawViewRepr<*mut A>
[src]fn try_ensure_unique<D>(_: &mut ArrayBase<Self, D>) where
Self: Sized,
D: Dimension,
[src]
Self: Sized,
D: Dimension,
fn try_is_unique(&mut self) -> Option<bool>
[src]
impl<A, B> RawDataSubst<B> for RawViewRepr<*const A>
[src]
impl<A, B> RawDataSubst<B> for RawViewRepr<*const A>
[src]type Output = RawViewRepr<*const B>
type Output = RawViewRepr<*const B>
The resulting array storage of the same kind but substituted element type
unsafe fn data_subst(self) -> Self::Output
[src]
unsafe fn data_subst(self) -> Self::Output
[src]Unsafely translate the data representation from one element representation to another. Read more
impl<A, B> RawDataSubst<B> for RawViewRepr<*mut A>
[src]
impl<A, B> RawDataSubst<B> for RawViewRepr<*mut A>
[src]type Output = RawViewRepr<*mut B>
type Output = RawViewRepr<*mut B>
The resulting array storage of the same kind but substituted element type
unsafe fn data_subst(self) -> Self::Output
[src]
unsafe fn data_subst(self) -> Self::Output
[src]Unsafely translate the data representation from one element representation to another. Read more
impl<A: Copy> Copy for RawViewRepr<A>
[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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more