Skip to main content

Conversion

Trait Conversion 

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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§