Crate siffra

source ·

Modules§

Macros§

  • Macro that generates a new enum for a quantity. The first passed string for each unit should be the unit’s default shorthand name. The second passed string for each unit should be the unit’s default longhand name. Any other passed strings for each unit should be other possible names/abbreviations of the unit.