Struct ndarray::OwnedArcRepr [−][src]
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
impl<A> Clone for OwnedArcRepr<A>
[src]
impl<A> Clone for OwnedArcRepr<A>
[src]impl<A> Data for OwnedArcRepr<A>
[src]
impl<A> Data for OwnedArcRepr<A>
[src]impl<A> DataOwned for OwnedArcRepr<A>
[src]
impl<A> DataOwned for OwnedArcRepr<A>
[src]type MaybeUninit = OwnedArcRepr<MaybeUninit<A>>
type MaybeUninit = OwnedArcRepr<MaybeUninit<A>>
Corresponding owned data with MaybeUninit elements
fn new(elements: Vec<A>) -> Self
[src]
fn into_shared(self) -> OwnedArcRepr<A>
[src]
impl<A: Debug> Debug for OwnedArcRepr<A>
[src]
impl<A: Debug> Debug for OwnedArcRepr<A>
[src]impl<A> RawData for OwnedArcRepr<A>
[src]
impl<A> RawData for OwnedArcRepr<A>
[src]type Elem = A
type Elem = A
The array element type.
fn _data_slice(&self) -> Option<&[A]>
[src]
fn _is_pointer_inbounds(&self, 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 OwnedArcRepr<A>
[src]
impl<A> RawDataClone for OwnedArcRepr<A>
[src]impl<A> RawDataMut for OwnedArcRepr<A> where
A: Clone,
[src]
impl<A> RawDataMut for OwnedArcRepr<A> where
A: Clone,
[src]fn try_ensure_unique<D>(self_: &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 OwnedArcRepr<A>
[src]
impl<A, B> RawDataSubst<B> for OwnedArcRepr<A>
[src]type Output = OwnedArcRepr<B>
type Output = OwnedArcRepr<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> DataMut for OwnedArcRepr<A> where
A: Clone,
[src]
A: Clone,
impl<A> DataShared for OwnedArcRepr<A>
[src]
Auto Trait Implementations
impl<A> RefUnwindSafe for OwnedArcRepr<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for OwnedArcRepr<A> where
A: Send + Sync,
A: Send + Sync,
impl<A> Sync for OwnedArcRepr<A> where
A: Send + Sync,
A: Send + Sync,
impl<A> Unpin for OwnedArcRepr<A>
impl<A> UnwindSafe for OwnedArcRepr<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
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