nalgebra::base::dimension

Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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

Source§

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

Source§

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