Struct icu_calendar::week::WeekOf
source · 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 Freeze for WeekOf
impl RefUnwindSafe for WeekOf
impl Send for WeekOf
impl Sync for WeekOf
impl Unpin for WeekOf
impl UnwindSafe for WeekOf
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