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
sourceimpl Clone for FirstDayOfYear
impl Clone for FirstDayOfYear
sourcefn clone(&self) -> FirstDayOfYear
fn clone(&self) -> FirstDayOfYear
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FirstDayOfYear
impl Debug for FirstDayOfYear
impl Copy for FirstDayOfYear
Auto Trait Implementations
impl RefUnwindSafe for FirstDayOfYear
impl Send for FirstDayOfYear
impl Sync for FirstDayOfYear
impl Unpin for FirstDayOfYear
impl UnwindSafe for FirstDayOfYear
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more