Skip to main content

DimNameDiv

Trait DimNameDiv 

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

Required Associated Types§

Required Methods§

Source

fn div(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> DimNameDiv<D2> for D1
where D1: DimName, D2: DimName, <D1 as DimName>::Value: Div<<D2 as DimName>::Value>, <<D1 as DimName>::Value as Div<<D2 as DimName>::Value>>::Output: NamedDim,

Source§

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