pub struct OffsetData { /* private fields */ }Expand description
C++ class: QTimeZone::OffsetData.
Implementations§
Source§impl OffsetData
impl OffsetData
Sourcepub unsafe fn abbreviation(&self) -> Ref<QString>
pub unsafe fn abbreviation(&self) -> Ref<QString>
Returns a reference to the abbreviation field.
Sourcepub unsafe fn abbreviation_mut(&self) -> Ref<QString>
pub unsafe fn abbreviation_mut(&self) -> Ref<QString>
Returns a mutable reference to the abbreviation field.
Sourcepub unsafe fn at_utc_mut(&self) -> Ref<QDateTime>
pub unsafe fn at_utc_mut(&self) -> Ref<QDateTime>
Returns a mutable reference to the atUtc field.
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<OffsetData>>,
) -> Ref<OffsetData>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<OffsetData>>, ) -> Ref<OffsetData>
Calls C++ function: QTimeZone::OffsetData& QTimeZone::OffsetData::operator=(const QTimeZone::OffsetData& other).
Sourcepub unsafe fn daylight_time_offset(&self) -> c_int
pub unsafe fn daylight_time_offset(&self) -> c_int
Returns the value of the daylightTimeOffset field.
Sourcepub unsafe fn new() -> CppBox<OffsetData>
pub unsafe fn new() -> CppBox<OffsetData>
Calls C++ function: [constructor] void QTimeZone::OffsetData::OffsetData().
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<OffsetData>>,
) -> CppBox<OffsetData>
pub unsafe fn new_copy( other: impl CastInto<Ref<OffsetData>>, ) -> CppBox<OffsetData>
Calls C++ function: [constructor] void QTimeZone::OffsetData::OffsetData(const QTimeZone::OffsetData& other).
Sourcepub unsafe fn offset_from_utc(&self) -> c_int
pub unsafe fn offset_from_utc(&self) -> c_int
Returns the value of the offsetFromUtc field.
Sourcepub unsafe fn set_abbreviation(&self, value: impl CastInto<Ref<QString>>)
pub unsafe fn set_abbreviation(&self, value: impl CastInto<Ref<QString>>)
Sets the value of the abbreviation field.
Sourcepub unsafe fn set_at_utc(&self, value: impl CastInto<Ref<QDateTime>>)
pub unsafe fn set_at_utc(&self, value: impl CastInto<Ref<QDateTime>>)
Sets the value of the atUtc field.
Sourcepub unsafe fn set_daylight_time_offset(&self, value: c_int)
pub unsafe fn set_daylight_time_offset(&self, value: c_int)
Sets the value of the daylightTimeOffset field.
Sourcepub unsafe fn set_offset_from_utc(&self, value: c_int)
pub unsafe fn set_offset_from_utc(&self, value: c_int)
Sets the value of the offsetFromUtc field.
Sourcepub unsafe fn set_standard_time_offset(&self, value: c_int)
pub unsafe fn set_standard_time_offset(&self, value: c_int)
Sets the value of the standardTimeOffset field.
Sourcepub unsafe fn standard_time_offset(&self) -> c_int
pub unsafe fn standard_time_offset(&self) -> c_int
Returns the value of the standardTimeOffset field.