Struct icu::calendar::types::WeekOfYear
source · pub struct WeekOfYear(pub u32);
Expand description
A week number in a year. Usually 1-based.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for WeekOfYear
impl Clone for WeekOfYear
source§fn clone(&self) -> WeekOfYear
fn clone(&self) -> WeekOfYear
Returns a copy 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 WeekOfYear
impl Debug for WeekOfYear
source§impl PartialEq<WeekOfYear> for WeekOfYear
impl PartialEq<WeekOfYear> for WeekOfYear
source§fn eq(&self, other: &WeekOfYear) -> bool
fn eq(&self, other: &WeekOfYear) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.