Skip to main content

Crate use_weather_front

Crate use_weather_front 

Source
Expand description

§use-weather-front

Primitive weather front vocabulary.

use-weather-front models front kinds, movement labels, and strength labels. It does not model front geometry, front position, or front forecast logic.

use use_weather_front::{FrontMovement, FrontStrength, WeatherFrontKind};

assert_eq!(WeatherFrontKind::Cold.to_string(), "cold");
assert_eq!(FrontMovement::Advancing.to_string(), "advancing");
assert_eq!(FrontStrength::Strong.to_string(), "strong");

Enums§

FrontMovement
Stable weather-front movement vocabulary.
FrontMovementParseError
Error returned when parsing front movement fails.
FrontStrength
Stable weather-front strength vocabulary.
FrontStrengthParseError
Error returned when parsing front strength fails.
WeatherFrontKind
Stable weather-front kind vocabulary.
WeatherFrontKindParseError
Error returned when parsing weather-front kinds fails.