Trait dimensioned::dimensioned::KeepDim
[−]
[src]
pub trait KeepDim<RHS = Self>: Dimension {
type Output;
}This trait enforces that Self and RHS have the same dimensions. It is useful
mostly for macros.
Associated Types
type Output
Implementors
impl<Meter, Kilogram, Second, Ampere, Kelvin, Candela, Mole, m, kg, s, amp, kelvin, candela, mole> KeepDim<SI<m, kg, s, amp, kelvin, candela, mole>> for SI<Meter, Kilogram, Second, Ampere, Kelvin, Candela, Mole> where Meter: Peano + KeepPeano<m>, Kilogram: Peano + KeepPeano<kg>, Second: Peano + KeepPeano<s>, Ampere: Peano + KeepPeano<amp>, Kelvin: Peano + KeepPeano<kelvin>, Candela: Peano + KeepPeano<candela>, Mole: Peano + KeepPeano<mole>, m: Peano, kg: Peano, s: Peano, amp: Peano, kelvin: Peano, candela: Peano, mole: Peanoimpl<Centimeter, Gram, Second, cm, g, s> KeepDim<CGS<cm, g, s>> for CGS<Centimeter, Gram, Second> where Centimeter: Peano + KeepPeano<cm>, Gram: Peano + KeepPeano<g>, Second: Peano + KeepPeano<s>, cm: Peano, g: Peano, s: Peano