Modules§
Macros§
Structs§
- Amount of substance (base UnitDefinition mole, mol). Scalar storage of a quantity (f64 and
AmountOfSubstanceUnit
). - Array storage (must implement
Slice
) for a series of values andAmountOfSubstanceUnit
. Utoipa alias has been implemented forVec<f64>
. - Angle (dimensionless quantity). Scalar storage of a quantity (f64 and
AngleUnit
). - Array storage (must implement
Slice
) for a series of values andAngleUnit
. Utoipa alias has been implemented forVec<f64>
. - Electric current (base UnitDefinition ampere, A). Scalar storage of a quantity (f64 and
ElectricCurrentUnit
). - Array storage (must implement
Slice
) for a series of values andElectricCurrentUnit
. Utoipa alias has been implemented forVec<f64>
. - Length (base UnitDefinition meter, m). Scalar storage of a quantity (f64 and
LengthUnit
). - Array storage (must implement
Slice
) for a series of values andLengthUnit
. Utoipa alias has been implemented forVec<f64>
. - Luminance (base UnitDefinition candela per square meter, cd · m⁻²). Scalar storage of a quantity (f64 and
LuminanceUnit
). - Array storage (must implement
Slice
) for a series of values andLuminanceUnit
. Utoipa alias has been implemented forVec<f64>
. - Mass (base UnitDefinition kilogram, kg). Scalar storage of a quantity (f64 and
MassUnit
). - Array storage (must implement
Slice
) for a series of values andMassUnit
. Utoipa alias has been implemented forVec<f64>
. - Temperature interval (base UnitDefinition kelvin, K). Scalar storage of a quantity (f64 and
TemperatureIntervalUnit
). - Array storage (must implement
Slice
) for a series of values andTemperatureIntervalUnit
. Utoipa alias has been implemented forVec<f64>
. - Time (base UnitDefinition second, s). Scalar storage of a quantity (f64 and
TimeUnit
). - Array storage (must implement
Slice
) for a series of values andTimeUnit
. Utoipa alias has been implemented forVec<f64>
.
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.