Trait rin::math::DimAdd [−][src]
pub trait DimAdd<D>: Dim where
D: Dim, { type Output: Dim; pub fn add(self, other: D) -> Self::Output; }
Associated Types
Loading content...Required methods
Loading content...Implementors
impl<D1, D2> DimAdd<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]
impl<D1, D2> DimAdd<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]