#[repr(u8)]pub enum DayOfWeek {
Monday = 1,
Tuesday = 2,
Wednesday = 3,
Thursday = 4,
Friday = 5,
Saturday = 6,
Sunday = 7,
}
Expand description
A day of the week
Variants§
Trait Implementations§
Source§impl Ord for DayOfWeek
impl Ord for DayOfWeek
Source§impl PartialOrd for DayOfWeek
impl PartialOrd for DayOfWeek
impl Copy for DayOfWeek
impl Eq for DayOfWeek
impl StructuralPartialEq for DayOfWeek
Auto Trait Implementations§
impl Freeze for DayOfWeek
impl RefUnwindSafe for DayOfWeek
impl Send for DayOfWeek
impl Sync for DayOfWeek
impl Unpin for DayOfWeek
impl UnwindSafe for DayOfWeek
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