[][src]Trait uom::ConversionFactor

pub trait ConversionFactor<V>: Add<Self, Output = Self> + Sub<Self, Output = Self> + Mul<Self, Output = Self> + Div<Self, Output = Self> + Zero + One {
    fn powi(self, e: i32) -> Self;
fn value(self) -> V; }

Trait representing a conversion factor.

Generic Parameters

Required methods

fn powi(self, e: i32) -> Self

Raises a ConversionFactor<V> to an integer power.

fn value(self) -> V

Converts a ConversionFactor<V> into its underlying storage type.

Loading content...

Implementations on Foreign Types

impl ConversionFactor<f32> for f32[src]

impl ConversionFactor<f64> for f64[src]

Loading content...

Implementors

Loading content...