pub enum Weekday {
Sunday = 0,
Monday = 1,
Tuesday = 2,
Wednesday = 3,
Thursday = 4,
Friday = 5,
Saturday = 6,
}Expand description
A Weekday specifies a day of the week (Sunday = 0, …).
zh-cn
Weekday代表一周的某一天。Variants§
Sunday = 0
星期日
Monday = 1
星期一
Tuesday = 2
星期二
Wednesday = 3
星期三
Thursday = 4
星期四
Friday = 5
星期五
Saturday = 6
星期六
Implementations§
Trait Implementations§
Source§impl PartialOrd for Weekday
impl PartialOrd for Weekday
impl Copy 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