use-air-temperature 0.1.0

Primitive meteorological air temperature vocabulary for RustUse
Documentation
  • Coverage
  • 100%
    26 out of 26 items documented1 out of 16 items with examples
  • Size
  • Source code size: 10.24 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 755.26 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-meteorology
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-air-temperature

Primitive meteorological air temperature vocabulary.

use-air-temperature stores air temperature, dew point, heat index, and wind chill values as Celsius f64 wrappers. It does not provide a unit-conversion framework, forecast logic, or heat-index and wind-chill formulas.

use use_air_temperature::{AirTemperature, DewPoint, TemperatureKind};

let air = AirTemperature::new(18.5).unwrap();
let dew_point = DewPoint::new(11.0).unwrap();

assert_eq!(air.celsius(), 18.5);
assert_eq!(dew_point.celsius(), 11.0);
assert_eq!(TemperatureKind::DewPoint.to_string(), "dew-point");