extendr_api::wrapper::matrix

Trait MatrixConversions

Source
pub trait MatrixConversions: GetSexp {
    // Provided methods
    fn as_column<E>(&self) -> Option<RColumn<E>>
       where Robj: for<'a> AsTypedSlice<'a, E> { ... }
    fn as_matrix<E>(&self) -> Option<RMatrix<E>>
       where Robj: for<'a> AsTypedSlice<'a, E> { ... }
    fn as_matrix3d<E>(&self) -> Option<RMatrix3D<E>>
       where Robj: for<'a> AsTypedSlice<'a, E> { ... }
}

Provided Methods§

Source

fn as_column<E>(&self) -> Option<RColumn<E>>
where Robj: for<'a> AsTypedSlice<'a, E>,

Source

fn as_matrix<E>(&self) -> Option<RMatrix<E>>
where Robj: for<'a> AsTypedSlice<'a, E>,

Source

fn as_matrix3d<E>(&self) -> Option<RMatrix3D<E>>
where Robj: for<'a> AsTypedSlice<'a, E>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§