Module units

Module units 

Source
Expand description

This module defines various unit types and their conversions.

Macrosยง

base_unit_struct ๐Ÿ”’
impl_div ๐Ÿ”’
unit_struct ๐Ÿ”’

Structsยง

Activity
A basic unit type wrapper around an f64 scalar value.
ActivityPerCapacity
A basic unit type wrapper around an f64 scalar value.
Capacity
A basic unit type wrapper around an f64 scalar value.
Dimensionless
A basic unit type wrapper around an f64 scalar value.
Flow
A basic unit type wrapper around an f64 scalar value.
FlowPerActivity
A basic unit type wrapper around an f64 scalar value.
FlowPerCapacity
A basic unit type wrapper around an f64 scalar value.
Money
A basic unit type wrapper around an f64 scalar value.
MoneyPerActivity
A basic unit type wrapper around an f64 scalar value.
MoneyPerCapacity
A basic unit type wrapper around an f64 scalar value.
MoneyPerCapacityPerYear
A basic unit type wrapper around an f64 scalar value.
MoneyPerFlow
A basic unit type wrapper around an f64 scalar value.
MoneyPerYear
A basic unit type wrapper around an f64 scalar value.
Year
A basic unit type wrapper around an f64 scalar value.

Traitsยง

UnitType
A trait encompassing most of the functionality of unit types