pub struct LocalTimeTypeData {
pub offset: i32,
pub is_dst: u8,
pub name_offset: u8,
}
Fields§
§offset: i32
Number of seconds to be added to Universal Time.
(Equivalent to tt_gmtoff
in C)
is_dst: u8
Whether to set DST.
(Equivalent to tt_isdst
in C)
name_offset: u8
Position in the array of time zone abbreviation characters, elsewhere
in the file.
(Equivalent to tt_abbrind
in C)
Trait Implementations§
Source§impl Clone for LocalTimeTypeData
impl Clone for LocalTimeTypeData
Source§fn clone(&self) -> LocalTimeTypeData
fn clone(&self) -> LocalTimeTypeData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LocalTimeTypeData
impl Debug for LocalTimeTypeData
Source§impl PartialEq for LocalTimeTypeData
impl PartialEq for LocalTimeTypeData
impl Eq for LocalTimeTypeData
impl StructuralPartialEq for LocalTimeTypeData
Auto Trait Implementations§
impl Freeze for LocalTimeTypeData
impl RefUnwindSafe for LocalTimeTypeData
impl Send for LocalTimeTypeData
impl Sync for LocalTimeTypeData
impl Unpin for LocalTimeTypeData
impl UnwindSafe for LocalTimeTypeData
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