pub struct WeekOf {
pub week: u16,
pub unit: RelativeUnit,
}
Expand description
The week number assigned to a given week according to a calendar.
Fields
week: u16
Week of month/year. 1 based.
unit: RelativeUnit
The month/year that this week is in, relative to the month/year of the input date.
Trait Implementations
impl StructuralPartialEq for WeekOf
Auto Trait Implementations
impl RefUnwindSafe for WeekOf
impl Send for WeekOf
impl Sync for WeekOf
impl Unpin for WeekOf
impl UnwindSafe for WeekOf
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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