extendr_api::prelude

Trait IntoDimension

Source
pub trait IntoDimension {
    type Dim: Dimension;

    // Required method
    fn into_dimension(self) -> Self::Dim;
}
Expand description

Argument conversion a dimension.

Required Associated Types§

Required Methods§

Source

fn into_dimension(self) -> Self::Dim

Implementations on Foreign Types§

Source§

impl IntoDimension for (usize, usize)

Source§

impl IntoDimension for (usize, usize, usize)

Source§

impl IntoDimension for (usize, usize, usize, usize)

Source§

impl IntoDimension for (usize, usize, usize, usize, usize)

Source§

impl IntoDimension for (usize, usize, usize, usize, usize, usize)

Source§

impl IntoDimension for (usize,)

Source§

impl IntoDimension for ()

Source§

impl IntoDimension for usize

Source§

impl IntoDimension for Vec<usize>

Source§

impl IntoDimension for [usize; 0]

Source§

impl IntoDimension for [usize; 1]

Source§

impl IntoDimension for [usize; 2]

Source§

impl IntoDimension for [usize; 3]

Source§

impl IntoDimension for [usize; 4]

Source§

impl IntoDimension for [usize; 5]

Source§

impl IntoDimension for [usize; 6]

Source§

impl<'a> IntoDimension for &'a [usize]

Implementors§