Skip to main content

Crate libgweather

Crate libgweather 

Source
Expand description

§Rust GWeather bindings

This library contains safe Rust bindings for GWeather, a library that offers weather data collection

See also

Re-exports§

pub use ffi;
pub use gio;
pub use glib;

Modules§

builders

Structs§

Conditions
FormatOptions
Format options to influence the text returned by the gweather_*_to_string_full()`` functions.
Info
GWeatherInfo provides a handy way to access weather conditions and forecasts from a [classGWeather], aggregating multiple different web services.
Location
A GWeatherLocation represents a “location” of some type known to libgweather; anything from a single weather station to the entire world.
Provider

Enums§

ConditionPhenomenon
The current or forecasted significant phenomenon.
ConditionQualifier
An additional modifier applied to a ConditionPhenomenon to describe the current or forecasted weather conditions.
DistanceUnit
The measure unit to use for sky visibility values, when retrieved by Info::value_visibility().
LocationLevel
The size/scope of a particular [classGWeather].
PressureUnit
The measure unit to use for atmospheric pressure values, when retrieved by Info::value_pressure().
Sky
The sky and cloud visibility. In general it is discouraged to use this value directly to compute the forecast icon: applications should instead use Info::icon_name() or Info::symbolic_icon_name().
SpeedUnit
The measure unit to use for wind speed values, when retrieved by Info::value_wind().
TemperatureUnit
The measure unit to use for temperature values, when retrieved by the Info::value_temp() family of functions.
WindDirection
The direction of the prevailing wind. Composite values such as north-north-east indicate a direction between the two component value (north and north-east).

Type Aliases§

MoonLatitude
MoonPhase