pub enum FirstDayOfYear {
Mode0,
Mode1,
Mode2,
}Variants§
Mode0
Week containing 1/1 is the first week of the year. Note that this can be a single day, if 1/1 falls on the last day of the week.
Mode1
First full week following 1/1 is the first week of the year.
Mode2
First week containing at least four days is the first week of the year.
Trait Implementations§
Source§impl Clone for FirstDayOfYear
impl Clone for FirstDayOfYear
Source§fn clone(&self) -> FirstDayOfYear
fn clone(&self) -> FirstDayOfYear
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FirstDayOfYear
impl Debug for FirstDayOfYear
impl Copy for FirstDayOfYear
Auto Trait Implementations§
impl Freeze for FirstDayOfYear
impl RefUnwindSafe for FirstDayOfYear
impl Send for FirstDayOfYear
impl Sync for FirstDayOfYear
impl Unpin for FirstDayOfYear
impl UnwindSafe for FirstDayOfYear
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