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

Implementors§

source§

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

source§

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

source§

impl<const A: usize, const B: usize> DimAdd<Const<B>> for Const<A>where Const<A>: ToTypenum, Const<B>: ToTypenum, <Const<A> as ToTypenum>::Typenum: Add<<Const<B> as ToTypenum>::Typenum>, Sum<<Const<A> as ToTypenum>::Typenum, <Const<B> as ToTypenum>::Typenum>: ToConst,

§

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