pub enum MoonPhase {
NewMoon,
WaxingCrescent,
FirstQuarter,
WaxingGibbous,
FullMoon,
WaningGibbous,
ThirdQuarter,
WaningCrescent,
}Expand description
All valid moon phases.
Variants§
NewMoon
New moon.
WaxingCrescent
Waxing crescent.
FirstQuarter
Moon in first quarter.
WaxingGibbous
Waxing gibbous moon.
FullMoon
Full moon.
WaningGibbous
Waning gibbous moon.
ThirdQuarter
Moon in third quarter.
WaningCrescent
Waning crescent moon.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MoonPhase
impl<'de> Deserialize<'de> for MoonPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MoonPhase
impl RefUnwindSafe for MoonPhase
impl Send for MoonPhase
impl Sync for MoonPhase
impl Unpin for MoonPhase
impl UnwindSafe for MoonPhase
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