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 bit_per_second

§

impl Conversion<f64> for byte_per_second

§

impl Conversion<f64> for exabit_per_second

§

impl Conversion<f64> for exabyte_per_second

§

impl Conversion<f64> for exbibit_per_second

§

impl Conversion<f64> for exbibyte_per_second

§

impl Conversion<f64> for gibibit_per_second

§

impl Conversion<f64> for gibibyte_per_second

§

impl Conversion<f64> for gigabit_per_second

§

impl Conversion<f64> for gigabyte_per_second

§

impl Conversion<f64> for kibibit_per_second

§

impl Conversion<f64> for kibibyte_per_second

§

impl Conversion<f64> for kilobit_per_second

§

impl Conversion<f64> for kilobyte_per_second

§

impl Conversion<f64> for mebibit_per_second

§

impl Conversion<f64> for mebibyte_per_second

§

impl Conversion<f64> for megabit_per_second

§

impl Conversion<f64> for megabyte_per_second

§

impl Conversion<f64> for octet_per_second

§

impl Conversion<f64> for pebibit_per_second

§

impl Conversion<f64> for pebibyte_per_second

§

impl Conversion<f64> for petabit_per_second

§

impl Conversion<f64> for petabyte_per_second

§

impl Conversion<f64> for tebibit_per_second

§

impl Conversion<f64> for tebibyte_per_second

§

impl Conversion<f64> for terabit_per_second

§

impl Conversion<f64> for terabyte_per_second

§

impl Conversion<f64> for yobibit_per_second

§

impl Conversion<f64> for yobibyte_per_second

§

impl Conversion<f64> for yottabit_per_second

§

impl Conversion<f64> for yottabyte_per_second

§

impl Conversion<f64> for zebibit_per_second

§

impl Conversion<f64> for zebibyte_per_second

§

impl Conversion<f64> for zettabit_per_second

§

impl Conversion<f64> for zettabyte_per_second