Type Alias extendr_api::prelude::Array

source ·
pub type Array<A, D> = ArrayBase<OwnedRepr<A>, D>;
Expand description

An array that owns its data uniquely.

Array is the main n-dimensional array type, and it owns all its array elements.

The Array<A, D> is parameterized by A for the element type and D for the dimensionality.

ArrayBase is used to implement both the owned arrays and the views; see its docs for an overview of all array features.

See also:

Aliased Type§

struct Array<A, D> {
    pub(crate) data: OwnedRepr<A>,
    pub(crate) ptr: NonNull<<OwnedRepr<A> as RawData>::Elem>,
    pub(crate) dim: D,
    pub(crate) strides: D,


§data: OwnedRepr<A>§ptr: NonNull<<OwnedRepr<A> as RawData>::Elem>§dim: D§strides: D