Expand description
Unit conversion engine — 100+ built-in units across 14 categories.
The UnitRegistry holds all known units and provides O(1) lookup by symbol
or name, with case-insensitive and plural matching. Conversion uses a base-unit
normalization approach: every unit defines a factor and offset to convert to its
category’s base unit, and conversions go through that common representation.
Structs§
- Unit
Registry - Registry of known units and conversion logic.