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