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

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

Associated Types

type Output: DimName[src]

Loading content...

Required methods

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

Loading content...

Implementors

impl<D1: DimName, D2: DimName> DimNameAdd<D2> for D1 where
    D1::Value: Add<D2::Value>,
    Sum<D1::Value, D2::Value>: NamedDim
[src]

type Output = <Sum<D1::Value, D2::Value> as NamedDim>::Name

Loading content...