#[repr(u32)]pub enum TimeOfDay {
Dawn = 0,
Day = 1,
Dusk = 2,
Night = 3,
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TimeOfDay
impl<'de> Deserialize<'de> for TimeOfDay
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
Source§impl IntoEnumIterator for TimeOfDay
impl IntoEnumIterator for TimeOfDay
type Iterator = TimeOfDayIter
fn iter() -> TimeOfDayIter ⓘ
Source§impl Ord for TimeOfDay
impl Ord for TimeOfDay
Source§impl PartialOrd for TimeOfDay
impl PartialOrd for TimeOfDay
impl Copy for TimeOfDay
impl Eq for TimeOfDay
impl StructuralPartialEq for TimeOfDay
Auto Trait Implementations§
impl Freeze for TimeOfDay
impl RefUnwindSafe for TimeOfDay
impl Send for TimeOfDay
impl Sync for TimeOfDay
impl Unpin for TimeOfDay
impl UnwindSafe for TimeOfDay
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