#[repr(transparent)]pub struct DstMonth(pub u16);Expand description
Daylight Saving Month
Tuple Fields§
§0: u16Implementations§
Source§impl DstMonth
impl DstMonth
Sourcepub const fn dst_end_month(&self) -> u8
pub const fn dst_end_month(&self) -> u8
Daylight Saving Time (DST) Month End Value
Sourcepub const fn set_dst_end_month(&mut self, val: u8)
pub const fn set_dst_end_month(&mut self, val: u8)
Daylight Saving Time (DST) Month End Value
Sourcepub const fn dst_start_month(&self) -> u8
pub const fn dst_start_month(&self) -> u8
Daylight Saving Time (DST) Month Start Value
Sourcepub const fn set_dst_start_month(&mut self, val: u8)
pub const fn set_dst_start_month(&mut self, val: u8)
Daylight Saving Time (DST) Month Start Value
Trait Implementations§
impl Copy for DstMonth
impl Eq for DstMonth
impl StructuralPartialEq for DstMonth
Auto Trait Implementations§
impl Freeze for DstMonth
impl RefUnwindSafe for DstMonth
impl Send for DstMonth
impl Sync for DstMonth
impl Unpin for DstMonth
impl UnwindSafe for DstMonth
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