Trait nalgebra::base::dimension::DimAdd

source ·
pub trait DimAdd<D: Dim>: Dim {
    type Output: Dim;

    // Required method
    fn add(self, other: D) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn add(self, other: D) -> Self::Output

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<D: Dim> DimAdd<D> for Dyn

§

type Output = Dyn

source§

impl<D: DimName> DimAdd<Dyn> for D

§

type Output = Dyn

source§

impl<const A: usize, const B: usize> DimAdd<Const<B>> for Const<A>

§

type Output = <<<Const<A> as ToTypenum>::Typenum as Add<<Const<B> as ToTypenum>::Typenum>>::Output as ToConst>::Const