Enum libgweather::ConditionQualifier
source · #[non_exhaustive]pub enum ConditionQualifier {
Show 15 variants
Invalid,
None,
Vicinity,
Light,
Moderate,
Heavy,
Shallow,
Patches,
Partial,
Thunderstorm,
Blowing,
Showers,
Drifting,
Freezing,
Last,
}
Expand description
An additional modifier applied to a #GWeatherConditionPhenomenon to describe the current or forecasted weather conditions.
The exact meaning of each qualifier is described at http://www.weather.com/glossary/ and http://www.crh.noaa.gov/arx/wx.tbl.php
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Invalid
value not available
None
no qualifier for the phenomenon
Vicinity
phenomenon happening in the proximity of the location, not in the actual location
Light
phenomenon is light or predicted to be light
Moderate
phenomenon is moderate or predicted to be moderate
Heavy
phenomenon is heavy or predicted to be heavy
Shallow
shallow fog (only valid with
ConditionPhenomenon::Fog
)
Patches
patches of fog (only valid with
ConditionPhenomenon::Fog
)
Partial
partial fog (only valid with
ConditionPhenomenon::Fog
)
Thunderstorm
phenomenon will be a thunderstorm and/or will include lightning
Blowing
phenomenon is blowing (valid with
ConditionPhenomenon::Snow
, ConditionPhenomenon::Sand
,
ConditionPhenomenon::Spray
, ConditionPhenomenon::Dust
)
Showers
phenomenon is heavy and involves showers
Drifting
phenomenon is moving across (valid with
ConditionPhenomenon::Sand
and ConditionPhenomenon::Dust
)
Freezing
phenomenon is freezing and involves ice
Last
maximum value of the enumeration
Trait Implementations§
source§impl Clone for ConditionQualifier
impl Clone for ConditionQualifier
source§fn clone(&self) -> ConditionQualifier
fn clone(&self) -> ConditionQualifier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConditionQualifier
impl Debug for ConditionQualifier
source§impl From<ConditionQualifier> for Value
impl From<ConditionQualifier> for Value
source§fn from(v: ConditionQualifier) -> Self
fn from(v: ConditionQualifier) -> Self
source§impl<'a> FromValue<'a> for ConditionQualifier
impl<'a> FromValue<'a> for ConditionQualifier
§type Checker = GenericValueTypeChecker<ConditionQualifier>
type Checker = GenericValueTypeChecker<ConditionQualifier>
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Value
. Read moresource§impl HasParamSpec for ConditionQualifier
impl HasParamSpec for ConditionQualifier
type ParamSpec = ParamSpecEnum
§type SetValue = ConditionQualifier
type SetValue = ConditionQualifier
type BuilderFn = fn(_: &str, _: ConditionQualifier) -> ParamSpecEnumBuilder<'_, ConditionQualifier>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for ConditionQualifier
impl Hash for ConditionQualifier
source§impl Ord for ConditionQualifier
impl Ord for ConditionQualifier
source§fn cmp(&self, other: &ConditionQualifier) -> Ordering
fn cmp(&self, other: &ConditionQualifier) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ConditionQualifier
impl PartialEq for ConditionQualifier
source§fn eq(&self, other: &ConditionQualifier) -> bool
fn eq(&self, other: &ConditionQualifier) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConditionQualifier
impl PartialOrd for ConditionQualifier
source§fn partial_cmp(&self, other: &ConditionQualifier) -> Option<Ordering>
fn partial_cmp(&self, other: &ConditionQualifier) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for ConditionQualifier
impl StaticType for ConditionQualifier
source§fn static_type() -> Type
fn static_type() -> Type
Self
.source§impl ToValue for ConditionQualifier
impl ToValue for ConditionQualifier
source§impl ValueType for ConditionQualifier
impl ValueType for ConditionQualifier
§type Type = ConditionQualifier
type Type = ConditionQualifier
Type
from. Read moreimpl Copy for ConditionQualifier
impl Eq for ConditionQualifier
impl StructuralPartialEq for ConditionQualifier
Auto Trait Implementations§
impl Freeze for ConditionQualifier
impl RefUnwindSafe for ConditionQualifier
impl Send for ConditionQualifier
impl Sync for ConditionQualifier
impl Unpin for ConditionQualifier
impl UnwindSafe for ConditionQualifier
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue
clone of self
.