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 acre_foot

§

impl Conversion<f64> for attoliter

§

impl Conversion<f64> for barrel

§

impl Conversion<f64> for bushel

§

impl Conversion<f64> for centiliter

§

impl Conversion<f64> for cord

§

impl Conversion<f64> for cubic_attometer

§

impl Conversion<f64> for cubic_centimeter

§

impl Conversion<f64> for cubic_decameter

§

impl Conversion<f64> for cubic_decimeter

§

impl Conversion<f64> for cubic_exameter

§

impl Conversion<f64> for cubic_femtometer

§

impl Conversion<f64> for cubic_foot

§

impl Conversion<f64> for cubic_gigameter

§

impl Conversion<f64> for cubic_hectometer

§

impl Conversion<f64> for cubic_inch

§

impl Conversion<f64> for cubic_kilometer

§

impl Conversion<f64> for cubic_megameter

§

impl Conversion<f64> for cubic_meter

§

impl Conversion<f64> for cubic_micrometer

§

impl Conversion<f64> for cubic_mile

§

impl Conversion<f64> for cubic_millimeter

§

impl Conversion<f64> for cubic_nanometer

§

impl Conversion<f64> for cubic_petameter

§

impl Conversion<f64> for cubic_picometer

§

impl Conversion<f64> for cubic_terameter

§

impl Conversion<f64> for cubic_yard

§

impl Conversion<f64> for cubic_yoctometer

§

impl Conversion<f64> for cubic_yottameter

§

impl Conversion<f64> for cubic_zeptometer

§

impl Conversion<f64> for cubic_zettameter

§

impl Conversion<f64> for cup

§

impl Conversion<f64> for decaliter

§

impl Conversion<f64> for deciliter

§

impl Conversion<f64> for exaliter

§

impl Conversion<f64> for femtoliter

§

impl Conversion<f64> for fluid_ounce

§

impl Conversion<f64> for fluid_ounce_imperial

§

impl Conversion<f64> for gallon

§

impl Conversion<f64> for gallon_imperial

§

impl Conversion<f64> for gigaliter

§

impl Conversion<f64> for gill

§

impl Conversion<f64> for gill_imperial

§

impl Conversion<f64> for hectoliter

§

impl Conversion<f64> for kiloliter

§

impl Conversion<f64> for liter

§

impl Conversion<f64> for megaliter

§

impl Conversion<f64> for microliter

§

impl Conversion<f64> for milliliter

§

impl Conversion<f64> for nanoliter

§

impl Conversion<f64> for peck

§

impl Conversion<f64> for petaliter

§

impl Conversion<f64> for picoliter

§

impl Conversion<f64> for pint_dry

§

impl Conversion<f64> for pint_liquid

§

impl Conversion<f64> for quart_dry

§

impl Conversion<f64> for quart_liquid

§

impl Conversion<f64> for register_ton

§

impl Conversion<f64> for stere

§

impl Conversion<f64> for tablespoon

§

impl Conversion<f64> for teaspoon

§

impl Conversion<f64> for teraliter

§

impl Conversion<f64> for yoctoliter

§

impl Conversion<f64> for yottaliter

§

impl Conversion<f64> for zeptoliter

§

impl Conversion<f64> for zettaliter