Struct ndarray::OwnedRepr [−][src]
Array’s representation.
Don’t use this type directly—use the type alias
Array
for the array type!
Trait Implementations
impl<A> Clone for OwnedRepr<A> where
A: Clone,
[src]
A: Clone,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, other: &Self)
[src]
impl<A> Data for OwnedRepr<A>
[src]
fn into_owned<D>(
self_: ArrayBase<Self, D>
) -> ArrayBase<OwnedRepr<Self::Elem>, D> where
A: Clone,
D: Dimension,
[src]
self_: ArrayBase<Self, D>
) -> ArrayBase<OwnedRepr<Self::Elem>, D> where
A: Clone,
D: Dimension,
impl<A> DataMut for OwnedRepr<A>
[src]
impl<A> DataOwned for OwnedRepr<A>
[src]
fn new(elements: Vec<A>) -> Self
[src]
fn into_shared(self) -> OwnedRcRepr<A>
[src]
impl<A: Debug> Debug for OwnedRepr<A>
[src]
impl<A> Drop for OwnedRepr<A>
[src]
impl<A> RawData for OwnedRepr<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 OwnedRepr<A> where
A: Clone,
[src]
A: Clone,
unsafe fn clone_with_ptr(
&self,
ptr: NonNull<Self::Elem>
) -> (Self, NonNull<Self::Elem>)
[src]
&self,
ptr: NonNull<Self::Elem>
) -> (Self, NonNull<Self::Elem>)
unsafe fn clone_from_with_ptr(
&mut self,
other: &Self,
ptr: NonNull<Self::Elem>
) -> NonNull<Self::Elem>
[src]
&mut self,
other: &Self,
ptr: NonNull<Self::Elem>
) -> NonNull<Self::Elem>
impl<A> RawDataMut for OwnedRepr<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 OwnedRepr<A>
[src]
impl<A> Send for OwnedRepr<A> where
A: Send,
[src]
A: Send,
impl<A> Sync for OwnedRepr<A> where
A: Sync,
[src]
A: Sync,
Auto Trait Implementations
impl<A> RefUnwindSafe for OwnedRepr<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Unpin for OwnedRepr<A>
impl<A> UnwindSafe for OwnedRepr<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
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>,