#[non_exhaustive]pub struct CalendarDate {
pub year: i64,
pub month: i64,
pub day: i64,
}Expand description
An IFC2X3 IfcCalendarDate: a Gregorian day.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.year: i64YearComponent.
month: i64MonthComponent, 1 = January through 12 = December.
day: i64DayComponent, a day that exists in that month.
Implementations§
Trait Implementations§
Source§impl Clone for CalendarDate
impl Clone for CalendarDate
Source§fn clone(&self) -> CalendarDate
fn clone(&self) -> CalendarDate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CalendarDate
Source§impl Debug for CalendarDate
impl Debug for CalendarDate
impl Eq for CalendarDate
Source§impl From<CalendarDate> for DateTimeValue<'_>
impl From<CalendarDate> for DateTimeValue<'_>
Source§fn from(date: CalendarDate) -> Self
fn from(date: CalendarDate) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CalendarDate
impl PartialEq for CalendarDate
impl StructuralPartialEq for CalendarDate
Auto Trait Implementations§
impl Freeze for CalendarDate
impl RefUnwindSafe for CalendarDate
impl Send for CalendarDate
impl Sync for CalendarDate
impl Unpin for CalendarDate
impl UnsafeUnpin for CalendarDate
impl UnwindSafe for CalendarDate
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