Skip to main content

DimNameMax

Trait DimNameMax 

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

Required Associated Types§

Required Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<D1, D2> DimNameMax<D2> for D1
where D1: DimName, D2: DimName, <D1 as DimName>::Value: Max<<D2 as DimName>::Value>, <<D1 as DimName>::Value as Max<<D2 as DimName>::Value>>::Output: NamedDim,

Source§

type Output = <<<D1 as DimName>::Value as Max<<D2 as DimName>::Value>>::Output as NamedDim>::Name