[][src]Trait na::base::dimension::DimNameAdd

pub trait DimNameAdd<D>: DimName where
    D: DimName
{ type Output: DimName; fn add(self, other: D) -> Self::Output; }

Associated Types

Loading content...

Required methods

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

Loading content...

Implementors

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
[src]

type Output = <<<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output as NamedDim>::Name

Loading content...