Macro simple_units::init_unit_and_inverse
[−]
[src]
macro_rules! init_unit_and_inverse { ($unit1:ident, $per_unit1:ident) => { ... }; }
This macro implements a new unit and the inverse unit
Example:
init_unit_and_inverse!(Meter, PerMeter);