Trait ggez::graphics::na::DimAdd
[−]
[src]
pub trait DimAdd<D>: Dim where
D: Dim, { type Output: Dim; fn add(self, other: D) -> Self::Output; }
Associated Types
Required Methods
Implementors
impl<D1, D2> DimAdd<D2> for D1 where
D1: DimName,
D2: DimName,
<D1 as DimName>::Value: Add<<D2 as DimName>::Value>,
<<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output: NamedDim, type Output = <<<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output as NamedDim>::Name;impl<D> DimAdd<D> for Dynamic where
D: Dim, type Output = Dynamic;impl<D> DimAdd<Dynamic> for D where
D: DimName, type Output = Dynamic;