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.