Struct qt_core::q_calendar::YearMonthDay
source · #[repr(C)]pub struct YearMonthDay { /* private fields */ }
Expand description
C++ class: QCalendar::YearMonthDay
.
Implementations§
source§impl YearMonthDay
impl YearMonthDay
sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<YearMonthDay>>
) -> Ref<YearMonthDay>
Available on cpp_lib_version="5.14.0"
only.
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<YearMonthDay>> ) -> Ref<YearMonthDay>
cpp_lib_version="5.14.0"
only.Calls C++ function: QCalendar::YearMonthDay& QCalendar::YearMonthDay::operator=(const QCalendar::YearMonthDay& other)
.
sourcepub unsafe fn day(&self) -> c_int
Available on cpp_lib_version="5.14.0"
only.
pub unsafe fn day(&self) -> c_int
cpp_lib_version="5.14.0"
only.Returns the value of the day
field.
sourcepub unsafe fn is_valid(&self) -> bool
Available on cpp_lib_version="5.14.0"
only.
pub unsafe fn is_valid(&self) -> bool
cpp_lib_version="5.14.0"
only.Calls C++ function: bool QCalendar::YearMonthDay::isValid() const
.
sourcepub unsafe fn month(&self) -> c_int
Available on cpp_lib_version="5.14.0"
only.
pub unsafe fn month(&self) -> c_int
cpp_lib_version="5.14.0"
only.Returns the value of the month
field.
sourcepub unsafe fn new_0a() -> CppBox<YearMonthDay>
Available on cpp_lib_version="5.14.0"
only.
pub unsafe fn new_0a() -> CppBox<YearMonthDay>
cpp_lib_version="5.14.0"
only.Calls C++ function: [constructor] void QCalendar::YearMonthDay::YearMonthDay()
.
sourcepub unsafe fn new_3a(y: c_int, m: c_int, d: c_int) -> CppBox<YearMonthDay>
Available on cpp_lib_version="5.14.0"
only.
pub unsafe fn new_3a(y: c_int, m: c_int, d: c_int) -> CppBox<YearMonthDay>
cpp_lib_version="5.14.0"
only.Calls C++ function: [constructor] void QCalendar::YearMonthDay::YearMonthDay(int y, int m = …, int d = …)
.
sourcepub unsafe fn new_2a(y: c_int, m: c_int) -> CppBox<YearMonthDay>
Available on cpp_lib_version="5.14.0"
only.
pub unsafe fn new_2a(y: c_int, m: c_int) -> CppBox<YearMonthDay>
cpp_lib_version="5.14.0"
only.Calls C++ function: [constructor] void QCalendar::YearMonthDay::YearMonthDay(int y, int m = …)
.
sourcepub unsafe fn new_1a(y: c_int) -> CppBox<YearMonthDay>
Available on cpp_lib_version="5.14.0"
only.
pub unsafe fn new_1a(y: c_int) -> CppBox<YearMonthDay>
cpp_lib_version="5.14.0"
only.Calls C++ function: [constructor] void QCalendar::YearMonthDay::YearMonthDay(int y)
.
sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<YearMonthDay>>
) -> CppBox<YearMonthDay>
Available on cpp_lib_version="5.14.0"
only.
pub unsafe fn new_copy( other: impl CastInto<Ref<YearMonthDay>> ) -> CppBox<YearMonthDay>
cpp_lib_version="5.14.0"
only.Calls C++ function: [constructor] void QCalendar::YearMonthDay::YearMonthDay(const QCalendar::YearMonthDay& other)
.
sourcepub unsafe fn set_day(&self, value: c_int)
Available on cpp_lib_version="5.14.0"
only.
pub unsafe fn set_day(&self, value: c_int)
cpp_lib_version="5.14.0"
only.Sets the value of the day
field.
sourcepub unsafe fn set_month(&self, value: c_int)
Available on cpp_lib_version="5.14.0"
only.
pub unsafe fn set_month(&self, value: c_int)
cpp_lib_version="5.14.0"
only.Sets the value of the month
field.
Trait Implementations§
source§impl CppDeletable for YearMonthDay
Available on cpp_lib_version="5.14.0"
only.
impl CppDeletable for YearMonthDay
cpp_lib_version="5.14.0"
only.