[][src]Struct fable_format::WadHeader

pub struct WadHeader {
    pub version: (u32, u32, u32),
    pub block_size: u32,
    pub entries_count: u32,
    pub entries_offset: u32,
}

A Wad header used for finding the start and end of the entry section.

Format Description

FieldTypeByte SizeDescription
Magic number[4; char]4"BBBB" string.
Version[3; u32]12File version number.
Block sizeu324Chunk size. Usually 2048.
Entry countu324Amount of entries.
Entry count repeatedu324
First entry offsetu324Offset to the first entry .

Fields

version: (u32, u32, u32)block_size: u32entries_count: u32entries_offset: u32

Trait Implementations

impl Debug for WadHeader[src]

impl PartialEq<WadHeader> for WadHeader[src]

impl StructuralPartialEq for WadHeader[src]

Auto Trait Implementations

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.