[][src]Struct sunrise_time::timezone::TimeZoneFile

struct TimeZoneFile {
    data: &'static [u8],
}

Represent a file inside a TimeZoneFileSystem.

Fields

data: &'static [u8]

The content of the file.

Implementations

impl TimeZoneFile[src]

pub fn from_raw(data: &'static [u8]) -> Self[src]

Create a TimeZoneFile instance from a raw slice.

pub fn read_full(&self) -> &[u8][src]

Read the whole file.

Auto Trait Implementations

impl RefUnwindSafe for TimeZoneFile

impl Send for TimeZoneFile

impl Sync for TimeZoneFile

impl Unpin for TimeZoneFile

impl UnwindSafe for TimeZoneFile

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> Same<T> for T

type Output = T

Should always be Self

impl<T> SizedIPCBuffer for 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.