Trait na::base::dimension::DimSub

source ·
pub trait DimSub<D>: Dimwhere
    D: 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> DimSub<Dyn> for Dwhere D: DimName,

§

type Output = Dyn

source§

impl<D> DimSub<D> for Dynwhere D: Dim,

§

type Output = Dyn

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>, <<Const<A> as ToTypenum>::Typenum as Sub<<Const<B> as ToTypenum>::Typenum>>::Output: ToConst,

§

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