DimSub in nalgebra::base::dimension - Rust
Description: API documentation for the Rust `DimSub` trait in crate `nalgebra`.
Keywords: rust, rustlang, rust-lang, DimSub

# Trait nalgebra::base::dimension::DimSub

source ·

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

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

## Required Associated Types§

source

#### type Output: Dim

## Required Methods§

source

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

## 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>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