Struct ndarray::OwnedArcRepr
source · [−]pub struct OwnedArcRepr<A>(_);
Expand description
ArcArray’s representation.
Don’t use this type directly—use the type alias
ArcArray
for the array type!
Trait Implementations
sourceimpl<A> Clone for OwnedArcRepr<A>
impl<A> Clone for OwnedArcRepr<A>
sourceimpl<A> DataOwned for OwnedArcRepr<A>
impl<A> DataOwned for OwnedArcRepr<A>
type MaybeUninit = OwnedArcRepr<MaybeUninit<A>>
type MaybeUninit = OwnedArcRepr<MaybeUninit<A>>
Corresponding owned data with MaybeUninit elements
sourceimpl<A: Debug> Debug for OwnedArcRepr<A>
impl<A: Debug> Debug for OwnedArcRepr<A>
sourceimpl<A> RawData for OwnedArcRepr<A>
impl<A> RawData for OwnedArcRepr<A>
type Elem = A
type Elem = A
The array element type.
sourcefn __private__(&self) -> PrivateMarker
fn __private__(&self) -> PrivateMarker
This trait is private to implement; this method exists to make it impossible to implement outside the crate. Read more
sourceimpl<A, B> RawDataSubst<B> for OwnedArcRepr<A>
impl<A, B> RawDataSubst<B> for OwnedArcRepr<A>
type Output = OwnedArcRepr<B>
type Output = OwnedArcRepr<B>
The resulting array storage of the same kind but substituted element type
sourceunsafe 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> Data for OwnedArcRepr<A>
impl<A> DataMut for OwnedArcRepr<A> where
A: Clone,
impl<A> RawDataClone for OwnedArcRepr<A>
impl<A> RawDataMut for OwnedArcRepr<A> where
A: Clone,
Auto Trait Implementations
impl<A> RefUnwindSafe for OwnedArcRepr<A> where
A: RefUnwindSafe,
impl<A> Send for OwnedArcRepr<A> where
A: Send + Sync,
impl<A> Sync for OwnedArcRepr<A> where
A: Send + Sync,
impl<A> Unpin for OwnedArcRepr<A>
impl<A> UnwindSafe for OwnedArcRepr<A> where
A: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more