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

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

Associated Types

type Output: Dim[src]

Loading content...

Required methods

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

Loading content...

Implementors

impl<D1: DimName, D2: DimName> DimAdd<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

impl<D: Dim> DimAdd<D> for Dynamic[src]

type Output = Dynamic

impl<D: DimName> DimAdd<Dynamic> for D[src]

type Output = Dynamic

Loading content...