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 atomic_unit_of_velocity

§

impl Conversion<f64> for attometer_per_second

§

impl Conversion<f64> for centimeter_per_second

§

impl Conversion<f64> for decameter_per_second

§

impl Conversion<f64> for decimeter_per_second

§

impl Conversion<f64> for exameter_per_second

§

impl Conversion<f64> for femtometer_per_second

§

impl Conversion<f64> for foot_per_hour

§

impl Conversion<f64> for foot_per_minute

§

impl Conversion<f64> for foot_per_second

§

impl Conversion<f64> for gigameter_per_second

§

impl Conversion<f64> for hectometer_per_second

§

impl Conversion<f64> for inch_per_second

§

impl Conversion<f64> for kilometer_per_hour

§

impl Conversion<f64> for kilometer_per_second

§

impl Conversion<f64> for knot

§

impl Conversion<f64> for megameter_per_second

§

impl Conversion<f64> for meter_per_second

§

impl Conversion<f64> for micrometer_per_second

§

impl Conversion<f64> for mile_per_hour

§

impl Conversion<f64> for mile_per_minute

§

impl Conversion<f64> for mile_per_second

§

impl Conversion<f64> for millimeter_per_minute

§

impl Conversion<f64> for millimeter_per_second

§

impl Conversion<f64> for nanometer_per_second

§

impl Conversion<f64> for natural_unit_of_velocity

§

impl Conversion<f64> for petameter_per_second

§

impl Conversion<f64> for picometer_per_second

§

impl Conversion<f64> for speed_of_light_in_vacuum

§

impl Conversion<f64> for terameter_per_second

§

impl Conversion<f64> for yoctometer_per_second

§

impl Conversion<f64> for yottameter_per_second

§

impl Conversion<f64> for zeptometer_per_second

§

impl Conversion<f64> for zettameter_per_second