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_per_kilogram

§

impl Conversion<f64> for btu_it_per_pound

§

impl Conversion<f64> for btu_per_pound

§

impl Conversion<f64> for calorie_it_per_gram

§

impl Conversion<f64> for calorie_per_gram

§

impl Conversion<f64> for centijoule_per_kilogram

§

impl Conversion<f64> for decajoule_per_kilogram

§

impl Conversion<f64> for decijoule_per_kilogram

§

impl Conversion<f64> for exajoule_per_kilogram

§

impl Conversion<f64> for femtojoule_per_kilogram

§

impl Conversion<f64> for gigajoule_per_kilogram

§

impl Conversion<f64> for hectojoule_per_kilogram

§

impl Conversion<f64> for joule_per_attogram

§

impl Conversion<f64> for joule_per_exagram

§

impl Conversion<f64> for joule_per_femtogram

§

impl Conversion<f64> for joule_per_gigagram

§

impl Conversion<f64> for joule_per_gram

§

impl Conversion<f64> for joule_per_kilogram

§

impl Conversion<f64> for joule_per_megagram

§

impl Conversion<f64> for joule_per_microgram

§

impl Conversion<f64> for joule_per_milligram

§

impl Conversion<f64> for joule_per_nanogram

§

impl Conversion<f64> for joule_per_petagram

§

impl Conversion<f64> for joule_per_picogram

§

impl Conversion<f64> for joule_per_teragram

§

impl Conversion<f64> for joule_per_yottagram

§

impl Conversion<f64> for joule_per_zeptogram

§

impl Conversion<f64> for joule_per_zettagram

§

impl Conversion<f64> for kilojoule_per_kilogram

§

impl Conversion<f64> for megajoule_per_kilogram

§

impl Conversion<f64> for microjoule_per_kilogram

§

impl Conversion<f64> for millijoule_per_kilogram

§

impl Conversion<f64> for nanojoule_per_kilogram

§

impl Conversion<f64> for petajoule_per_kilogram

§

impl Conversion<f64> for picojoule_per_kilogram

§

impl Conversion<f64> for terajoule_per_kilogram

§

impl Conversion<f64> for yoctojoule_per_kilogram

§

impl Conversion<f64> for yottajoule_per_kilogram

§

impl Conversion<f64> for zeptojoule_per_kilogram

§

impl Conversion<f64> for zettajoule_per_kilogram