Struct twmap::datafile_parse::RawDatafile[][src]

pub struct RawDatafile<'a> {
    pub header: &'a Header,
    pub item_types: &'a [ItemType],
    pub item_offsets: &'a [i32_le],
    pub data_offsets: &'a [i32_le],
    pub data_sizes: Option<&'a [i32_le]>,
    pub items: Vec<ViewedItem<'a>>,
    pub data_items: Vec<&'a [u8]>,
}

Fields

header: &'a Headeritem_types: &'a [ItemType]item_offsets: &'a [i32_le]data_offsets: &'a [i32_le]data_sizes: Option<&'a [i32_le]>items: Vec<ViewedItem<'a>>data_items: Vec<&'a [u8]>

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.