pub enum Twilight {
Civil,
Nautical,
Astronomical,
}Expand description
A twilight definition: how far below the geometric horizon the Sun must sit for the sky to count as dark.
Variants§
Civil
Sun below −6°.
Nautical
Sun below −12°.
Astronomical
Sun below −18° — fully dark for deep-sky imaging.
Implementations§
Trait Implementations§
impl Copy for Twilight
Source§impl<'de> Deserialize<'de> for Twilight
impl<'de> Deserialize<'de> for Twilight
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
impl Eq for Twilight
impl StructuralPartialEq for Twilight
Auto Trait Implementations§
impl Freeze for Twilight
impl RefUnwindSafe for Twilight
impl Send for Twilight
impl Sync for Twilight
impl Unpin for Twilight
impl UnsafeUnpin for Twilight
impl UnwindSafe for Twilight
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