Trait uom::si::mass::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 attogram

source§

impl Conversion<u8> for carat

source§

impl Conversion<u8> for centigram

source§

impl Conversion<u8> for dalton

source§

impl Conversion<u8> for decagram

source§

impl Conversion<u8> for decigram

source§

impl Conversion<u8> for exagram

source§

impl Conversion<u8> for femtogram

source§

impl Conversion<u8> for gigagram

source§

impl Conversion<u8> for grain

source§

impl Conversion<u8> for gram

source§

impl Conversion<u8> for hectogram

source§

impl Conversion<u8> for hundredweight_long

source§

impl Conversion<u8> for hundredweight_short

source§

impl Conversion<u8> for kilogram

source§

impl Conversion<u8> for megagram

source§

impl Conversion<u8> for microgram

source§

impl Conversion<u8> for milligram

source§

impl Conversion<u8> for nanogram

source§

impl Conversion<u8> for ounce

source§

impl Conversion<u8> for ounce_troy

source§

impl Conversion<u8> for pennyweight

source§

impl Conversion<u8> for petagram

source§

impl Conversion<u8> for picogram

source§

impl Conversion<u8> for pound

source§

impl Conversion<u8> for pound_troy

source§

impl Conversion<u8> for slug

source§

impl Conversion<u8> for teragram

source§

impl Conversion<u8> for ton

source§

impl Conversion<u8> for ton_assay

source§

impl Conversion<u8> for ton_long

source§

impl Conversion<u8> for ton_short

source§

impl Conversion<u8> for yoctogram

source§

impl Conversion<u8> for yottagram

source§

impl Conversion<u8> for zeptogram

source§

impl Conversion<u8> for zettagram

source§

impl Conversion<u16> for attogram

source§

impl Conversion<u16> for carat

source§

impl Conversion<u16> for centigram

source§

impl Conversion<u16> for dalton

source§

impl Conversion<u16> for decagram

source§

impl Conversion<u16> for decigram

source§

impl Conversion<u16> for exagram

source§

impl Conversion<u16> for femtogram

source§

impl Conversion<u16> for gigagram

source§

impl Conversion<u16> for grain

source§

impl Conversion<u16> for gram

source§

impl Conversion<u16> for hectogram

source§

impl Conversion<u16> for hundredweight_long

source§

impl Conversion<u16> for hundredweight_short

source§

impl Conversion<u16> for kilogram

source§

impl Conversion<u16> for megagram

source§

impl Conversion<u16> for microgram

source§

impl Conversion<u16> for milligram

source§

impl Conversion<u16> for nanogram

source§

impl Conversion<u16> for ounce

source§

impl Conversion<u16> for ounce_troy

source§

impl Conversion<u16> for pennyweight

source§

impl Conversion<u16> for petagram

source§

impl Conversion<u16> for picogram

source§

impl Conversion<u16> for pound

source§

impl Conversion<u16> for pound_troy

source§

impl Conversion<u16> for slug

source§

impl Conversion<u16> for teragram

source§

impl Conversion<u16> for ton

source§

impl Conversion<u16> for ton_assay

source§

impl Conversion<u16> for ton_long

source§

impl Conversion<u16> for ton_short

source§

impl Conversion<u16> for yoctogram

source§

impl Conversion<u16> for yottagram

source§

impl Conversion<u16> for zeptogram

source§

impl Conversion<u16> for zettagram

source§

impl Conversion<u32> for attogram

source§

impl Conversion<u32> for carat

source§

impl Conversion<u32> for centigram

source§

impl Conversion<u32> for dalton

source§

impl Conversion<u32> for decagram

source§

impl Conversion<u32> for decigram

source§

impl Conversion<u32> for exagram

source§

impl Conversion<u32> for femtogram

source§

impl Conversion<u32> for gigagram

source§

impl Conversion<u32> for grain

source§

impl Conversion<u32> for gram

source§

impl Conversion<u32> for hectogram

source§

impl Conversion<u32> for hundredweight_long

source§

impl Conversion<u32> for hundredweight_short

source§

impl Conversion<u32> for kilogram

source§

impl Conversion<u32> for megagram

source§

impl Conversion<u32> for microgram

source§

impl Conversion<u32> for milligram

source§

impl Conversion<u32> for nanogram

source§

impl Conversion<u32> for ounce

source§

impl Conversion<u32> for ounce_troy

source§

impl Conversion<u32> for pennyweight

source§

impl Conversion<u32> for petagram

source§

impl Conversion<u32> for picogram

source§

impl Conversion<u32> for pound

source§

impl Conversion<u32> for pound_troy

source§

impl Conversion<u32> for slug

source§

impl Conversion<u32> for teragram

source§

impl Conversion<u32> for ton

source§

impl Conversion<u32> for ton_assay

source§

impl Conversion<u32> for ton_long

source§

impl Conversion<u32> for ton_short

source§

impl Conversion<u32> for yoctogram

source§

impl Conversion<u32> for yottagram

source§

impl Conversion<u32> for zeptogram

source§

impl Conversion<u32> for zettagram