Type Alias extendr_api::prelude::prelude::ArrayView2

source ·
pub type ArrayView2<'a, A> = ArrayBase<ViewRepr<&'a A>, Dim<[usize; 2]>>;
Expand description

two-dimensional array view

Aliased Type§

struct ArrayView2<'a, A> {
    pub(crate) data: ViewRepr<&'a A>,
    pub(crate) ptr: NonNull<A>,
    pub(crate) dim: Dim<[usize; 2]>,
    pub(crate) strides: Dim<[usize; 2]>,
}

Fields§

§data: ViewRepr<&'a A>§ptr: NonNull<A>§dim: Dim<[usize; 2]>§strides: Dim<[usize; 2]>

Trait Implementations§

source§

impl<'a> FromRobj<'a> for ArrayView2<'a, c64>

source§

fn from_robj(robj: &'a Robj) -> Result<Self, &'static str>

Convert an R object to a ndarray ArrayView2.

source§

impl<'a> FromRobj<'a> for ArrayView2<'a, Rbool>

source§

fn from_robj(robj: &'a Robj) -> Result<Self, &'static str>

Convert an R object to a ndarray ArrayView2.

source§

impl<'a> FromRobj<'a> for ArrayView2<'a, Rcplx>

source§

fn from_robj(robj: &'a Robj) -> Result<Self, &'static str>

Convert an R object to a ndarray ArrayView2.

source§

impl<'a> FromRobj<'a> for ArrayView2<'a, Rfloat>

source§

fn from_robj(robj: &'a Robj) -> Result<Self, &'static str>

Convert an R object to a ndarray ArrayView2.

source§

impl<'a> FromRobj<'a> for ArrayView2<'a, Rint>

source§

fn from_robj(robj: &'a Robj) -> Result<Self, &'static str>

Convert an R object to a ndarray ArrayView2.

source§

impl<'a> FromRobj<'a> for ArrayView2<'a, Rstr>

source§

fn from_robj(robj: &'a Robj) -> Result<Self, &'static str>

Convert an R object to a ndarray ArrayView2.

source§

impl<'a> FromRobj<'a> for ArrayView2<'a, f64>

source§

fn from_robj(robj: &'a Robj) -> Result<Self, &'static str>

Convert an R object to a ndarray ArrayView2.

source§

impl<'a> FromRobj<'a> for ArrayView2<'a, i32>

source§

fn from_robj(robj: &'a Robj) -> Result<Self, &'static str>

Convert an R object to a ndarray ArrayView2.

source§

impl<'a> FromRobj<'a> for ArrayView2<'a, u32>

source§

fn from_robj(robj: &'a Robj) -> Result<Self, &'static str>

Convert an R object to a ndarray ArrayView2.

source§

impl<'a> TryFrom<&Robj> for ArrayView2<'a, c64>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: &Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<&Robj> for ArrayView2<'a, Rbool>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: &Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<&Robj> for ArrayView2<'a, Rcplx>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: &Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<&Robj> for ArrayView2<'a, Rfloat>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: &Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<&Robj> for ArrayView2<'a, Rint>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: &Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<&Robj> for ArrayView2<'a, Rstr>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: &Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<&Robj> for ArrayView2<'a, f64>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: &Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<&Robj> for ArrayView2<'a, i32>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: &Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<&Robj> for ArrayView2<'a, u32>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: &Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<Robj> for ArrayView2<'a, c64>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<Robj> for ArrayView2<'a, Rbool>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<Robj> for ArrayView2<'a, Rcplx>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<Robj> for ArrayView2<'a, Rfloat>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<Robj> for ArrayView2<'a, Rint>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<Robj> for ArrayView2<'a, Rstr>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<Robj> for ArrayView2<'a, f64>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<Robj> for ArrayView2<'a, i32>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: Robj) -> Result<Self>

Performs the conversion.
source§

impl<'a> TryFrom<Robj> for ArrayView2<'a, u32>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(robj: Robj) -> Result<Self>

Performs the conversion.