#[repr(u8)]pub enum WeekDay {
Sunday = 0,
Monday = 1,
Tuesday = 2,
Wednesday = 3,
Thursday = 4,
Friday = 5,
Saturday = 6,
}Expand description
Indication of a specific day-of-the-week. While explicit values are assigned to each day (to make implementation easier), no ordering is implied.
Variants§
Implementations§
Trait Implementations§
impl Copy for WeekDay
impl Eq for WeekDay
impl StructuralPartialEq for WeekDay
Auto Trait Implementations§
impl Freeze for WeekDay
impl RefUnwindSafe for WeekDay
impl Send for WeekDay
impl Sync for WeekDay
impl Unpin for WeekDay
impl UnwindSafe for WeekDay
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