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

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

Associated Types

type Output: DimName[src]

Loading content...

Required methods

pub fn add(self, other: D) -> Self::Output[src]

Loading content...

Implementors

impl<D1, D2> DimNameAdd<D2> for D1 where
    D2: DimName,
    D1: 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...