pub trait Conversion<V>: Unit + Conversion<V, T = <V as Conversion<V>>::T>
where V: Conversion<V>,
{ }
Expand description

Trait to identify units which have a conversion factor for the Quantity. See [crate::Conversion<V>].

§Generic Parameters

  • V: Underlying storage type trait is implemented for.

Object Safety§

This trait is not object safe.

Implementors§

§

impl Conversion<f64> for attojoule

§

impl Conversion<f64> for btu

§

impl Conversion<f64> for btu_39

§

impl Conversion<f64> for btu_59

§

impl Conversion<f64> for btu_60

§

impl Conversion<f64> for btu_it

§

impl Conversion<f64> for calorie

§

impl Conversion<f64> for calorie_15

§

impl Conversion<f64> for calorie_20

§

impl Conversion<f64> for calorie_it

§

impl Conversion<f64> for calorie_it_nutrition

§

impl Conversion<f64> for calorie_nutrition

§

impl Conversion<f64> for centijoule

§

impl Conversion<f64> for decaelectronvolt

§

impl Conversion<f64> for decajoule

§

impl Conversion<f64> for decawatt_hour

§

impl Conversion<f64> for decijoule

§

impl Conversion<f64> for electronvolt

§

impl Conversion<f64> for erg

§

impl Conversion<f64> for exajoule

§

impl Conversion<f64> for femtojoule

§

impl Conversion<f64> for foot_pound

§

impl Conversion<f64> for foot_poundal

§

impl Conversion<f64> for gigaelectronvolt

§

impl Conversion<f64> for gigajoule

§

impl Conversion<f64> for gigawatt_hour

§

impl Conversion<f64> for hartree

§

impl Conversion<f64> for hectoelectronvolt

§

impl Conversion<f64> for hectojoule

§

impl Conversion<f64> for hectowatt_hour

§

impl Conversion<f64> for joule

§

impl Conversion<f64> for kilocalorie

§

impl Conversion<f64> for kilocalorie_it

§

impl Conversion<f64> for kiloelectronvolt

§

impl Conversion<f64> for kilojoule

§

impl Conversion<f64> for kilowatt_hour

§

impl Conversion<f64> for megaelectronvolt

§

impl Conversion<f64> for megajoule

§

impl Conversion<f64> for megawatt_hour

§

impl Conversion<f64> for microjoule

§

impl Conversion<f64> for microwatt_hour

§

impl Conversion<f64> for millijoule

§

impl Conversion<f64> for milliwatt_hour

§

impl Conversion<f64> for nanojoule

§

impl Conversion<f64> for petaelectronvolt

§

impl Conversion<f64> for petajoule

§

impl Conversion<f64> for petawatt_hour

§

impl Conversion<f64> for picojoule

§

impl Conversion<f64> for quad

§

impl Conversion<f64> for teraelectronvolt

§

impl Conversion<f64> for terajoule

§

impl Conversion<f64> for terawatt_hour

§

impl Conversion<f64> for therm_ec

§

impl Conversion<f64> for therm_us

§

impl Conversion<f64> for ton_tnt

§

impl Conversion<f64> for watt_hour

§

impl Conversion<f64> for watt_second

§

impl Conversion<f64> for yoctojoule

§

impl Conversion<f64> for yottajoule

§

impl Conversion<f64> for zeptojoule

§

impl Conversion<f64> for zettajoule