Struct tract_hir::internal::tract_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
pub fn into_owned<D>(
    self_: ArrayBase<OwnedArcRepr<A>, D>
) -> ArrayBase<OwnedRepr<<OwnedArcRepr<A> as RawData>::Elem>, D> where
    A: Clone,
    D: Dimension, 
type MaybeUninit = OwnedArcRepr<MaybeUninit<A>>
type MaybeUninit = OwnedArcRepr<MaybeUninit<A>>
Corresponding owned data with MaybeUninit elements
type Elem = A
type Elem = A
The array element type.
pub fn _is_pointer_inbounds(
    &self, 
    self_ptr: *const <OwnedArcRepr<A> as RawData>::Elem
) -> bool
This trait is private to implement; this method exists to make it impossible to implement outside the crate. Read more
pub unsafe fn clone_with_ptr(
    &self, 
    ptr: NonNull<<OwnedArcRepr<A> as RawData>::Elem>
) -> (OwnedArcRepr<A>, NonNull<<OwnedArcRepr<A> as RawData>::Elem>)
pub fn try_ensure_unique<D>(self_: &mut ArrayBase<OwnedArcRepr<A>, D>) where
    D: Dimension,
    OwnedArcRepr<A>: Sized, 
type Output = OwnedArcRepr<B>
type Output = OwnedArcRepr<B>
The resulting array storage of the same kind but substituted element type
Unsafely translate the data representation from one element representation to another. Read more
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
Mutably borrows from an owned value. Read more
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘimpl<W> Write for Box<W, Global> where
    W: Write + ?Sized, impl<R> Read for Box<R, Global> where
    R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
    F: Future + Unpin + ?Sized,
    A: Allocator + 'static,     type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
    I: Iterator + ?Sized,
    A: Allocator,     type Item = <I as Iterator>::Item;
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘimpl<W> Write for Box<W, Global> where
    W: Write + ?Sized, impl<R> Read for Box<R, Global> where
    R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
    F: Future + Unpin + ?Sized,
    A: Allocator + 'static,     type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
    I: Iterator + ?Sized,
    A: Allocator,     type Item = <I as Iterator>::Item;
impl<W> Write for Box<W, Global> where
    W: Write + ?Sized, impl<R> Read for Box<R, Global> where
    R: Read + ?Sized, impl<F, A> Future for Box<F, A> where
    F: Future + Unpin + ?Sized,
    A: Allocator + 'static,     type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
    I: Iterator + ?Sized,
    A: Allocator,     type Item = <I as Iterator>::Item;Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s. Read more