pub enum TimeOfDayPhase {
Night,
Dawn,
Morning,
Midday,
Afternoon,
Evening,
}Expand description
Named slice of the in-game day (drives future weather / spawn tables).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TimeOfDayPhase
impl Clone for TimeOfDayPhase
Source§fn clone(&self) -> TimeOfDayPhase
fn clone(&self) -> TimeOfDayPhase
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 moreimpl Copy for TimeOfDayPhase
Source§impl Debug for TimeOfDayPhase
impl Debug for TimeOfDayPhase
Source§impl<'de> Deserialize<'de> for TimeOfDayPhase
impl<'de> Deserialize<'de> for TimeOfDayPhase
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 TimeOfDayPhase
Source§impl PartialEq for TimeOfDayPhase
impl PartialEq for TimeOfDayPhase
Source§impl Serialize for TimeOfDayPhase
impl Serialize for TimeOfDayPhase
impl StructuralPartialEq for TimeOfDayPhase
Auto Trait Implementations§
impl Freeze for TimeOfDayPhase
impl RefUnwindSafe for TimeOfDayPhase
impl Send for TimeOfDayPhase
impl Sync for TimeOfDayPhase
impl Unpin for TimeOfDayPhase
impl UnsafeUnpin for TimeOfDayPhase
impl UnwindSafe for TimeOfDayPhase
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