nyx_space::linalg

Trait DimAdd

Source
pub trait DimAdd<D>: Dim
where D: Dim,
{ type Output: Dim; // Required method fn add(self, other: D) -> Self::Output; }

Required Associated Types§

Required Methods§

Source

fn add(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> DimAdd<Dyn> for D
where D: DimName,

Source§

impl<D> DimAdd<D> for Dyn
where D: Dim,

Source§

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