Trait uom::ConversionFactor
source · pub trait ConversionFactor<V>: PartialOrd + Add<Self, Output = Self> + Sub<Self, Output = Self> + Mul<Self, Output = Self> + Div<Self, Output = Self> + Zero + One {
// Required methods
fn powi(self, e: i32) -> Self;
fn value(self) -> V;
}
Expand description
Trait representing a conversion factor.
§Generic Parameters
V
: Underlying storage type trait is implemented for.
Required Methods§
Object Safety§
This trait is not object safe.