Struct ndarray::ViewRepr [−][src]
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> Clone for ViewRepr<A>
[src]
impl<A: Copy> Copy for ViewRepr<A>
[src]
impl<'a, A> Data for ViewRepr<&'a A>
[src]
fn into_owned<D>(
self_: ArrayBase<Self, D>
) -> ArrayBase<OwnedRepr<Self::Elem>, D> where
Self::Elem: Clone,
D: Dimension,
[src]
self_: ArrayBase<Self, D>
) -> ArrayBase<OwnedRepr<Self::Elem>, D> where
Self::Elem: Clone,
D: Dimension,
impl<'a, A> Data for ViewRepr<&'a mut A>
[src]
fn into_owned<D>(
self_: ArrayBase<Self, D>
) -> ArrayBase<OwnedRepr<Self::Elem>, D> where
Self::Elem: Clone,
D: Dimension,
[src]
self_: ArrayBase<Self, D>
) -> ArrayBase<OwnedRepr<Self::Elem>, D> where
Self::Elem: Clone,
D: Dimension,
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]
impl<'a, A> RawDataMut for ViewRepr<&'a 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, A: 'a, B: 'a> RawDataSubst<B> for ViewRepr<&'a A>
[src]
type Output = ViewRepr<&'a B>
The resulting array storage of the same kind but substituted element type
impl<'a, A: 'a, B: 'a> RawDataSubst<B> 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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,