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

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

Required Associated Types§

Required Methods§

source

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

Implementors§

source§

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

source§

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

source§

impl<const A: usize, const B: usize> DimSub<Const<B>> for Const<A>where Const<A>: ToTypenum, Const<B>: ToTypenum, <Const<A> as ToTypenum>::Typenum: Sub<<Const<B> as ToTypenum>::Typenum>, Diff<<Const<A> as ToTypenum>::Typenum, <Const<B> as ToTypenum>::Typenum>: ToConst,

§

type Output = <<<Const<A> as ToTypenum>::Typenum as Sub<<Const<B> as ToTypenum>::Typenum>>::Output as ToConst>::Const