telus-agcg/wise_units

Add AsMeasurement trait

Opened this issue · 0 comments

The standard Measurement type is great, but also very permissive. It's nice to be able to make your own types that behave like a Measurement, but maybe have some restrictions on them (ex. a Duration that only allows duration-related units).