Trait nyx_space::linalg::dimension::DimNameSub

source ·
pub trait DimNameSub<D>: DimName
where D: DimName,
{ type Output: DimName; // 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<const A: usize, const B: usize> DimNameSub<Const<B>> for Const<A>

§

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