pub trait DimAdd<D: Dim>: Dim {
    type Output: Dim;

    // Required method
    fn add(self, other: D) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

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

Implementors§

source§

impl<D1: DimName, D2: DimName> DimAdd<D2> for D1where D1::Value: Add<D2::Value>, Sum<D1::Value, D2::Value>: NamedDim,

§

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

source§

impl<D: Dim> DimAdd<D> for Dynamic

source§

impl<D: DimName> DimAdd<Dynamic> for D