Trait hyperdual::DimMul

source ·
pub trait DimMul<D>: Dimwhere
    D: Dim,{
    type Output: Dim;

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

Required Associated Types§

Required Methods§

source

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

Implementors§

source§

impl<D> DimMul<Dyn> for Dwhere D: DimName,

§

type Output = Dyn

source§

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

§

type Output = Dyn

source§

impl<const A: usize, const B: usize> DimMul<Const<B>> for Const<A>where Const<A>: ToTypenum, Const<B>: ToTypenum, <Const<A> as ToTypenum>::Typenum: Mul<<Const<B> as ToTypenum>::Typenum>, <<Const<A> as ToTypenum>::Typenum as Mul<<Const<B> as ToTypenum>::Typenum>>::Output: ToConst,

§

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