#[non_exhaustive]pub enum WindCompassDirection {
Show 17 variants
North,
NorthNortheast,
Northeast,
EastNortheast,
East,
EastSoutheast,
Southeast,
SouthSoutheast,
South,
SouthSouthwest,
Southwest,
WestSouthwest,
West,
WestNorthwest,
Northwest,
NorthNorthwest,
Unknown(String),
}Expand description
Represents the WeatherKit WindCompassDirection value.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
North
Matches the WeatherKit North case.
NorthNortheast
Matches the WeatherKit NorthNortheast case.
Northeast
Matches the WeatherKit Northeast case.
EastNortheast
Matches the WeatherKit EastNortheast case.
East
Matches the WeatherKit East case.
EastSoutheast
Matches the WeatherKit EastSoutheast case.
Southeast
Matches the WeatherKit Southeast case.
SouthSoutheast
Matches the WeatherKit SouthSoutheast case.
South
Matches the WeatherKit South case.
SouthSouthwest
Matches the WeatherKit SouthSouthwest case.
Southwest
Matches the WeatherKit Southwest case.
WestSouthwest
Matches the WeatherKit WestSouthwest case.
West
Matches the WeatherKit West case.
WestNorthwest
Matches the WeatherKit WestNorthwest case.
Northwest
Matches the WeatherKit Northwest case.
NorthNorthwest
Matches the WeatherKit NorthNorthwest case.
Unknown(String)
Stores an unrecognized WeatherKit case name.
Implementations§
Source§impl WindCompassDirection
impl WindCompassDirection
Sourcepub fn descriptors() -> Result<Vec<WindCompassDirectionDescriptor>, WeatherKitError>
pub fn descriptors() -> Result<Vec<WindCompassDirectionDescriptor>, WeatherKitError>
Returns the WeatherKit descriptor catalog for this enum.
Trait Implementations§
Source§impl Clone for WindCompassDirection
impl Clone for WindCompassDirection
Source§fn clone(&self) -> WindCompassDirection
fn clone(&self) -> WindCompassDirection
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WindCompassDirection
impl Debug for WindCompassDirection
Source§impl PartialEq for WindCompassDirection
impl PartialEq for WindCompassDirection
Source§fn eq(&self, other: &WindCompassDirection) -> bool
fn eq(&self, other: &WindCompassDirection) -> bool
self and other values to be equal, and is used by ==.