Trait nalgebra::base::dimension::DimNameAdd

source ·
pub trait DimNameAdd<D: DimName>: DimName {
    type Output: DimName;

    // 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<const A: usize, const B: usize> DimNameAdd<Const<B>> for Const<A>

§

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