Skip to main content

Module units

Module units 

Source
Expand description

Units of measurement used by the dive model (spec).

Each quantity is a newtype over f64 in one fixed SI-style unit, so that parsers convert device units exactly once. With the serde feature each serializes as a plain number in that unit.

Structs§

Depth
A depth below the surface, in metres.
GasFraction
The share of one gas in a breathing mix, in percent (0–100).
Pressure
A pressure (tank, surface or partial pressure), in bar.
Temperature
A temperature, in degrees Celsius.