[][src]Crate new_units

This crate provides a simple & easy way to distinguish types, eg in HashMap<TypeId, _>. If you want to do dimensional analysis, there are better crates for that.

Macros

new_unit

Boiler-plate reducing macro.

Structs

NewUnit

The preferred way of instantiating is to use let distance: Meter = 0.0.into().