Type Alias extendr_api::prelude::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<A>,
    pub(crate) dim: D,
    pub(crate) strides: D,
}

Fields§

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