Struct ruststep::ap201::explicit_draughting::CalendarDate [−][src]
pub struct CalendarDate {
pub date: Date,
pub day_component: DayInMonthNumber,
pub month_component: MonthInYearNumber,
}
Fields
date: Date
day_component: DayInMonthNumber
month_component: MonthInYearNumber
Implementations
pub fn new(
date: Date,
day_component: DayInMonthNumber,
month_component: MonthInYearNumber
) -> Self
pub fn new(
date: Date,
day_component: DayInMonthNumber,
month_component: MonthInYearNumber
) -> Self
Constructs a new CalendarDate
.
Methods from Deref<Target = Date>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CalendarDate
impl Send for CalendarDate
impl Sync for CalendarDate
impl Unpin for CalendarDate
impl UnwindSafe for CalendarDate
Blanket Implementations
Mutably borrows from an owned value. Read more