Trait uom::si::ratio::Conversion

source ·
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§

source§

impl Conversion<u8> for basis_point

source§

impl Conversion<u8> for part_per_billion

source§

impl Conversion<u8> for part_per_hundred

source§

impl Conversion<u8> for part_per_million

source§

impl Conversion<u8> for part_per_quadrillion

source§

impl Conversion<u8> for part_per_ten_thousand

source§

impl Conversion<u8> for part_per_thousand

source§

impl Conversion<u8> for part_per_trillion

source§

impl Conversion<u8> for per_mille

source§

impl Conversion<u8> for percent

source§

impl Conversion<u8> for ratio

source§

impl Conversion<u16> for basis_point

source§

impl Conversion<u16> for part_per_billion

source§

impl Conversion<u16> for part_per_hundred

source§

impl Conversion<u16> for part_per_million

source§

impl Conversion<u16> for part_per_quadrillion

source§

impl Conversion<u16> for part_per_ten_thousand

source§

impl Conversion<u16> for part_per_thousand

source§

impl Conversion<u16> for part_per_trillion

source§

impl Conversion<u16> for per_mille

source§

impl Conversion<u16> for percent

source§

impl Conversion<u16> for ratio

source§

impl Conversion<u32> for basis_point

source§

impl Conversion<u32> for part_per_billion

source§

impl Conversion<u32> for part_per_hundred

source§

impl Conversion<u32> for part_per_million

source§

impl Conversion<u32> for part_per_quadrillion

source§

impl Conversion<u32> for part_per_ten_thousand

source§

impl Conversion<u32> for part_per_thousand

source§

impl Conversion<u32> for part_per_trillion

source§

impl Conversion<u32> for per_mille

source§

impl Conversion<u32> for percent

source§

impl Conversion<u32> for ratio