Trait nalgebra::base::dimension::DimSub

source ·
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

Object Safety§

This trait is not object safe.

Implementors§

source§

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

§

type Output = Dyn

source§

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

§

type Output = Dyn

source§

impl<const A: usize, const B: usize> DimSub<Const<B>> for Const<A>

§

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