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