#[non_exhaustive]#[repr(u8)]pub enum WeatherStatus {
Show 21 variants
Clear = 0,
PartlyCloudy = 1,
MostlyCloudy = 2,
Rain = 3,
Snow = 4,
Windy = 5,
Thunderstorms = 6,
WintryMix = 7,
Fog = 8,
Hazy = 11,
Hail = 12,
ScatteredShowers = 13,
ScatteredThunderstorms = 14,
UnknownPrecipitation = 15,
LightRain = 16,
HeavyRain = 17,
LightSnow = 18,
HeavySnow = 19,
LightRainSnow = 20,
HeavyRainSnow = 21,
Cloudy = 22,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Clear = 0
PartlyCloudy = 1
MostlyCloudy = 2
Rain = 3
Snow = 4
Windy = 5
Thunderstorms = 6
WintryMix = 7
Fog = 8
Hazy = 11
Hail = 12
ScatteredShowers = 13
ScatteredThunderstorms = 14
UnknownPrecipitation = 15
LightRain = 16
HeavyRain = 17
LightSnow = 18
HeavySnow = 19
LightRainSnow = 20
HeavyRainSnow = 21
Cloudy = 22
Implementations§
Source§impl WeatherStatus
impl WeatherStatus
Trait Implementations§
Source§impl Clone for WeatherStatus
impl Clone for WeatherStatus
Source§fn clone(&self) -> WeatherStatus
fn clone(&self) -> WeatherStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WeatherStatus
impl Debug for WeatherStatus
Source§impl Hash for WeatherStatus
impl Hash for WeatherStatus
Source§impl PartialEq for WeatherStatus
impl PartialEq for WeatherStatus
Source§fn eq(&self, other: &WeatherStatus) -> bool
fn eq(&self, other: &WeatherStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WeatherStatus
impl Eq for WeatherStatus
impl StructuralPartialEq for WeatherStatus
Auto Trait Implementations§
impl Freeze for WeatherStatus
impl RefUnwindSafe for WeatherStatus
impl Send for WeatherStatus
impl Sync for WeatherStatus
impl Unpin for WeatherStatus
impl UnsafeUnpin for WeatherStatus
impl UnwindSafe for WeatherStatus
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
Mutably borrows from an owned value. Read more