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 angstrom

§

impl Conversion<f64> for astronomical_unit

§

impl Conversion<f64> for atomic_unit_of_length

§

impl Conversion<f64> for attometer

§

impl Conversion<f64> for bohr_radius

§

impl Conversion<f64> for centimeter

§

impl Conversion<f64> for chain

§

impl Conversion<f64> for decameter

§

impl Conversion<f64> for decimeter

§

impl Conversion<f64> for exameter

§

impl Conversion<f64> for fathom

§

impl Conversion<f64> for femtometer

§

impl Conversion<f64> for fermi

§

impl Conversion<f64> for foot

§

impl Conversion<f64> for foot_survey

§

impl Conversion<f64> for gigameter

§

impl Conversion<f64> for hectometer

§

impl Conversion<f64> for inch

§

impl Conversion<f64> for kilometer

§

impl Conversion<f64> for light_year

§

impl Conversion<f64> for megameter

§

impl Conversion<f64> for meter

§

impl Conversion<f64> for microinch

§

impl Conversion<f64> for micrometer

§

impl Conversion<f64> for micron

§

impl Conversion<f64> for mil

§

impl Conversion<f64> for mile

§

impl Conversion<f64> for mile_survey

§

impl Conversion<f64> for millimeter

§

impl Conversion<f64> for nanometer

§

impl Conversion<f64> for nautical_mile

§

impl Conversion<f64> for parsec

§

impl Conversion<f64> for petameter

§

impl Conversion<f64> for pica_computer

§

impl Conversion<f64> for pica_printers

§

impl Conversion<f64> for picometer

§

impl Conversion<f64> for point_computer

§

impl Conversion<f64> for point_printers

§

impl Conversion<f64> for rod

§

impl Conversion<f64> for terameter

§

impl Conversion<f64> for yard

§

impl Conversion<f64> for yoctometer

§

impl Conversion<f64> for yottameter

§

impl Conversion<f64> for zeptometer

§

impl Conversion<f64> for zettameter