extendr_api::prelude

Trait DimAdd

Source
pub trait DimAdd<D>
where D: Dimension,
{ type Output: Dimension; }
Expand description

Adds the two dimensions at compile time.

Required Associated Types§

Source

type Output: Dimension

The sum of the two dimensions.

Implementors§

Source§

impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 1]>

Source§

impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 2]>

Source§

impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 3]>

Source§

impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 4]>

Source§

impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 5]>

Source§

impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 6]>

Source§

impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 1]>

Source§

impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 2]>

Source§

impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 3]>

Source§

impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 4]>

Source§

impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 5]>

Source§

impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 6]>

Source§

impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 1]>

Source§

impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 2]>

Source§

impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 3]>

Source§

impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 4]>

Source§

impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 5]>

Source§

impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 6]>

Source§

impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 1]>

Source§

impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 2]>

Source§

impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 3]>

Source§

impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 4]>

Source§

impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 5]>

Source§

impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 6]>

Source§

impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 1]>

Source§

impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 2]>

Source§

impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 3]>

Source§

impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 4]>

Source§

impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 5]>

Source§

impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 6]>

Source§

impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 1]>

Source§

impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 2]>

Source§

impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 3]>

Source§

impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 4]>

Source§

impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 5]>

Source§

impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 6]>

Source§

impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 1]>

Source§

impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 2]>

Source§

impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 3]>

Source§

impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 4]>

Source§

impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 5]>

Source§

impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 6]>

Source§

impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 1]>

Source§

impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 2]>

Source§

impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 3]>

Source§

impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 4]>

Source§

impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 5]>

Source§

impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 6]>

Source§

impl<D> DimAdd<D> for Dim<IxDynImpl>
where D: Dimension,

Source§

impl<D> DimAdd<D> for Dim<[usize; 0]>
where D: Dimension,