Trait metric::composite::Unit
[−]
[src]
pub trait Unit { fn new(val: f64) -> Self; fn inner(&self) -> f64; }
Required Methods
Implementors
impl<T, U> Unit for Mul<T, U> where
T: Unit,impl<T, U> Unit for Div<T, U> where
T: Unit,impl Unit for AU
impl Unit for Lightyear
impl Unit for Kilometer
impl Unit for Meter
impl Unit for Centimeter
impl Unit for Millimeter
impl Unit for Micrometer
impl Unit for Picometer
impl Unit for Femtometer
impl Unit for Inch
impl Unit for Foot
impl Unit for Yard
impl Unit for Mile
impl Unit for Fahrenheit
impl Unit for Celsius
impl Unit for Kelvin
impl Unit for Ounce
impl Unit for Pound
impl Unit for ITon
impl Unit for MTon
impl Unit for Kilogram
impl Unit for Gram
impl Unit for Centigram
impl Unit for Milligram
impl Unit for Second
impl Unit for Minute
impl Unit for Hour
impl Unit for Day
impl Unit for Year
impl Unit for Decade
impl Unit for Century
impl Unit for Millennium