Struct icu::calendar::types::DayOfMonth
source · pub struct DayOfMonth(pub u32);
Expand description
A day number in a month. Usually 1-based.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for DayOfMonth
impl Clone for DayOfMonth
source§fn clone(&self) -> DayOfMonth
fn clone(&self) -> DayOfMonth
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 DayOfMonth
impl Debug for DayOfMonth
source§impl From<DayOfMonth> for DayOfWeekInMonth
impl From<DayOfMonth> for DayOfWeekInMonth
source§fn from(day_of_month: DayOfMonth) -> DayOfWeekInMonth
fn from(day_of_month: DayOfMonth) -> DayOfWeekInMonth
Converts to this type from the input type.
source§impl PartialEq<DayOfMonth> for DayOfMonth
impl PartialEq<DayOfMonth> for DayOfMonth
source§fn eq(&self, other: &DayOfMonth) -> bool
fn eq(&self, other: &DayOfMonth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.