[][src]Struct sunrise_libtimezone::conversion::TzifHeader

#[repr(C, align(4))]struct TzifHeader {
    magic: [u8; 4],
    version: u8,
    reserved: [u8; 15],
    ttis_gmt_count: [u8; 4],
    ttis_std_count: [u8; 4],
    leap_count: [u8; 4],
    time_count: [u8; 4],
    type_count: [u8; 4],
    char_count: [u8; 4],
}

Represent the header of a Tzif file.

Fields

magic: [u8; 4]

The magic number of a Tzif file ("TZif").

version: u8

The version number of the TzIf file.

reserved: [u8; 15]

Reserved for future usage.

ttis_gmt_count: [u8; 4]

The count of GMT TimeTypeInfo.

ttis_std_count: [u8; 4]

The count of Standard Time Daylight TimeTypeInfo.

leap_count: [u8; 4]

The count of leap definitions.

time_count: [u8; 4]

The count of time transitions.

type_count: [u8; 4]

The count of time type infos.

char_count: [u8; 4]

The count of chars.

Auto Trait Implementations

impl Send for TzifHeader

impl Sync for TzifHeader

impl Unpin for TzifHeader

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.