[][src]Struct sunrise_libtimezone::conversion::ConversionBuffer

#[repr(C, align(8))]pub(crate) struct ConversionBuffer<'a, 'b> {
    pub work_buffer: &'a [u8],
    pub temp_rules: &'b mut TimeZoneRule,
}

Represent a buffer used to convert a TzIf file to a TimeZoneRule struct.

Fields

work_buffer: &'a [u8]

The work buffer containing the TzIf file content.

Note:

This must be at least 4-byte aligned.

temp_rules: &'b mut TimeZoneRule

A temporary storage used to store the result of parse_timezone_name during the conversion.

Auto Trait Implementations

impl<'a, 'b> Send for ConversionBuffer<'a, 'b>

impl<'a, 'b> Sync for ConversionBuffer<'a, 'b>

impl<'a, 'b> Unpin for ConversionBuffer<'a, 'b>

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.