Crate runtime_units

Source

Modules§

Macros§

Structs§

Enums§

  • A wrapper to hold all quantities supported by this library. It is analogous to Units``, but when combined with the serde` feature flag, can serve as a way to serialize a quantity, not just the unit.
  • A list of unit types supported for the library (given feature flags selected).
  • A wrapper to hold all available units supported by the library. Contains utilities to convert from a given arbitrary unit to the underlying Quantity that is used to perform unit conversion calculations.