pub struct PakIndexV2 {
    pub mount_point: String,
    pub path_hash_seed: u64,
    pub has_path_hash_index: bool,
    pub path_hash_index_hash: [u8; 20],
    pub has_full_directory_index: bool,
    pub full_directory_index_hash: [u8; 20],
    /* private fields */
}

Fields

mount_point: String

Mount point

path_hash_seed: u64

The seed passed to the hash function for hashing filenames in this pak. Differs per pack so that the same filename in different paks has different hashes

has_path_hash_index: boolpath_hash_index_hash: [u8; 20]has_full_directory_index: boolfull_directory_index_hash: [u8; 20]

Implementations

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Formats the value using the given formatter. 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

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self
Converts the given value to a String. Read more
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.