heim_common::units::information

Trait 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 Conversion<V>.

§Generic Parameters

  • V: Underlying storage type trait is implemented for.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Conversion<f32> for bit

Source§

impl Conversion<f32> for byte

Source§

impl Conversion<f32> for crumb

Source§

impl Conversion<f32> for deciban

Source§

impl Conversion<f32> for exabit

Source§

impl Conversion<f32> for exabyte

Source§

impl Conversion<f32> for exbibit

Source§

impl Conversion<f32> for exbibyte

Source§

impl Conversion<f32> for gibibit

Source§

impl Conversion<f32> for gibibyte

Source§

impl Conversion<f32> for gigabit

Source§

impl Conversion<f32> for gigabyte

Source§

impl Conversion<f32> for hartley

Source§

impl Conversion<f32> for kibibit

Source§

impl Conversion<f32> for kibibyte

Source§

impl Conversion<f32> for kilobit

Source§

impl Conversion<f32> for kilobyte

Source§

impl Conversion<f32> for mebibit

Source§

impl Conversion<f32> for mebibyte

Source§

impl Conversion<f32> for megabit

Source§

impl Conversion<f32> for megabyte

Source§

impl Conversion<f32> for natural_unit_of_information

Source§

impl Conversion<f32> for nibble

Source§

impl Conversion<f32> for octet

Source§

impl Conversion<f32> for pebibit

Source§

impl Conversion<f32> for pebibyte

Source§

impl Conversion<f32> for petabit

Source§

impl Conversion<f32> for petabyte

Source§

impl Conversion<f32> for shannon

Source§

impl Conversion<f32> for tebibit

Source§

impl Conversion<f32> for tebibyte

Source§

impl Conversion<f32> for terabit

Source§

impl Conversion<f32> for terabyte

Source§

impl Conversion<f32> for trit

Source§

impl Conversion<f32> for yobibit

Source§

impl Conversion<f32> for yobibyte

Source§

impl Conversion<f32> for yottabit

Source§

impl Conversion<f32> for yottabyte

Source§

impl Conversion<f32> for zebibit

Source§

impl Conversion<f32> for zebibyte

Source§

impl Conversion<f32> for zettabit

Source§

impl Conversion<f32> for zettabyte

Source§

impl Conversion<f64> for bit

Source§

impl Conversion<f64> for byte

Source§

impl Conversion<f64> for crumb

Source§

impl Conversion<f64> for deciban

Source§

impl Conversion<f64> for exabit

Source§

impl Conversion<f64> for exabyte

Source§

impl Conversion<f64> for exbibit

Source§

impl Conversion<f64> for exbibyte

Source§

impl Conversion<f64> for gibibit

Source§

impl Conversion<f64> for gibibyte

Source§

impl Conversion<f64> for gigabit

Source§

impl Conversion<f64> for gigabyte

Source§

impl Conversion<f64> for hartley

Source§

impl Conversion<f64> for kibibit

Source§

impl Conversion<f64> for kibibyte

Source§

impl Conversion<f64> for kilobit

Source§

impl Conversion<f64> for kilobyte

Source§

impl Conversion<f64> for mebibit

Source§

impl Conversion<f64> for mebibyte

Source§

impl Conversion<f64> for megabit

Source§

impl Conversion<f64> for megabyte

Source§

impl Conversion<f64> for natural_unit_of_information

Source§

impl Conversion<f64> for nibble

Source§

impl Conversion<f64> for octet

Source§

impl Conversion<f64> for pebibit

Source§

impl Conversion<f64> for pebibyte

Source§

impl Conversion<f64> for petabit

Source§

impl Conversion<f64> for petabyte

Source§

impl Conversion<f64> for shannon

Source§

impl Conversion<f64> for tebibit

Source§

impl Conversion<f64> for tebibyte

Source§

impl Conversion<f64> for terabit

Source§

impl Conversion<f64> for terabyte

Source§

impl Conversion<f64> for trit

Source§

impl Conversion<f64> for yobibit

Source§

impl Conversion<f64> for yobibyte

Source§

impl Conversion<f64> for yottabit

Source§

impl Conversion<f64> for yottabyte

Source§

impl Conversion<f64> for zebibit

Source§

impl Conversion<f64> for zebibyte

Source§

impl Conversion<f64> for zettabit

Source§

impl Conversion<f64> for zettabyte

Source§

impl Conversion<u64> for bit

Source§

impl Conversion<u64> for byte

Source§

impl Conversion<u64> for crumb

Source§

impl Conversion<u64> for deciban

Source§

impl Conversion<u64> for exabit

Source§

impl Conversion<u64> for exabyte

Source§

impl Conversion<u64> for exbibit

Source§

impl Conversion<u64> for exbibyte

Source§

impl Conversion<u64> for gibibit

Source§

impl Conversion<u64> for gibibyte

Source§

impl Conversion<u64> for gigabit

Source§

impl Conversion<u64> for gigabyte

Source§

impl Conversion<u64> for hartley

Source§

impl Conversion<u64> for kibibit

Source§

impl Conversion<u64> for kibibyte

Source§

impl Conversion<u64> for kilobit

Source§

impl Conversion<u64> for kilobyte

Source§

impl Conversion<u64> for mebibit

Source§

impl Conversion<u64> for mebibyte

Source§

impl Conversion<u64> for megabit

Source§

impl Conversion<u64> for megabyte

Source§

impl Conversion<u64> for natural_unit_of_information

Source§

impl Conversion<u64> for nibble

Source§

impl Conversion<u64> for octet

Source§

impl Conversion<u64> for pebibit

Source§

impl Conversion<u64> for pebibyte

Source§

impl Conversion<u64> for petabit

Source§

impl Conversion<u64> for petabyte

Source§

impl Conversion<u64> for shannon

Source§

impl Conversion<u64> for tebibit

Source§

impl Conversion<u64> for tebibyte

Source§

impl Conversion<u64> for terabit

Source§

impl Conversion<u64> for terabyte

Source§

impl Conversion<u64> for trit

Source§

impl Conversion<u64> for yobibit

Source§

impl Conversion<u64> for yobibyte

Source§

impl Conversion<u64> for yottabit

Source§

impl Conversion<u64> for yottabyte

Source§

impl Conversion<u64> for zebibit

Source§

impl Conversion<u64> for zebibyte

Source§

impl Conversion<u64> for zettabit

Source§

impl Conversion<u64> for zettabyte