Trait DimNameAdd
rin::math::dimension
pub trait DimNameAdd<D>: DimName where D: DimName, { type Output: DimName; fn add(self, other: D) -> Self::Output; }
type Output: DimName
fn add(self, other: D) -> Self::Output
impl<D1, D2> DimNameAdd<D2> for D1 where D1: DimName, D2: DimName, <D1 as DimName>::Value: Add<<D2 as DimName>::Value>, <<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output: NamedDim,
type Output = <<<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output as NamedDim>::Name
fn add(self, D2) -> <D1 as DimNameAdd<D2>>::Output