Struct mobi::headers::Header

source ·
pub struct Header {
Show 14 fields pub name: Vec<u8>, pub attributes: u16, pub version: u16, pub created: u32, pub modified: u32, pub backup: u32, pub modnum: u32, pub app_info_id: u32, pub sort_info_id: u32, pub type_: [u8; 4], pub creator: [u8; 4], pub unique_id_seed: u32, pub next_record_list_id: u32, pub num_records: u16,
}
Expand description

Structure that holds header information

Fields§

§name: Vec<u8>§attributes: u16§version: u16§created: u32§modified: u32§backup: u32§modnum: u32§app_info_id: u32§sort_info_id: u32§type_: [u8; 4]§creator: [u8; 4]§unique_id_seed: u32§next_record_list_id: u32§num_records: u16

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.