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

    // Required method
    fn max(self, other: D) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

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

§

type Output = Dyn

source§

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

§

type Output = Dyn

source§

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

§

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