use-precipitation 0.1.0

Primitive precipitation vocabulary for RustUse
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# use-precipitation

Primitive precipitation vocabulary.

`use-precipitation` models precipitation kinds, intensity labels, amounts, and rates. It does not process radar data, forecast precipitation, or implement hydrology and alerting logic.

```rust
use use_precipitation::{PrecipitationAmount, PrecipitationIntensity, PrecipitationKind};

let amount = PrecipitationAmount::new(6.5).unwrap();

assert_eq!(amount.millimeters(), 6.5);
assert_eq!(PrecipitationKind::Snow.to_string(), "snow");
assert_eq!(PrecipitationIntensity::Light.to_string(), "light");
```