Enum bsa::v104::ArchiveFlagV104[][src]

#[repr(u32)]
pub enum ArchiveFlagV104 {
    IncludeDirectoryNames,
    IncludeFileNames,
    CompressedArchive,
    RetainDirectoryNames,
    RetainFileNames,
    RetainFileNameOffsets,
    Xbox360Archive,
    RetainStringsDuringStartup,
    EmbedFileNames,
    XMemCodec,
}

Variants

IncludeDirectoryNames

The game may not load a BSA without this bit set.

IncludeFileNames

The game may not load a BSA without this bit set.

CompressedArchive

This does not mean all files are compressed. It means they are compressed by default.

RetainDirectoryNames
RetainFileNames

Unknown, but observed being set in official BSA files containing sounds (but not voices). Possibly instructs the game to retain file names in memory.

RetainFileNameOffsets
Xbox360Archive

Hash values and numbers after the header are encoded big-endian.

RetainStringsDuringStartup
EmbedFileNames

Embed File Names. Indicates the file data blocks begin with a bstring containing the full path of the file. For example, in "Skyrim - Textures.bsa" the first data block is $2B textures/effects/fxfluidstreamdripatlus.dds ($2B indicating the name is 43 bytes). The data block begins immediately after the bstring.

XMemCodec

This can only be used with CompressedArchive. This is an Xbox 360 only compression algorithm.

Trait Implementations

The resulting type after applying the & operator.

Performs the & operation. Read more

Create a BitFlags with no flags set (in other words, with a value of 0). Read more

Create a BitFlags with all flags set. Read more

The resulting type after applying the | operator.

Performs the | operation. Read more

The resulting type after applying the ^ operator.

Performs the ^ operation. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The resulting type after applying the ! operator.

Performs the unary ! operation. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The underlying integer type.

A value with no bits set.

The value used by the Default implementation. Equivalent to EMPTY, unless customized. Read more

A value with all flag bits set.

A slice that contains each variant exactly one.

The name of the type for debug formatting purposes. Read more

Return the bits as a number type.

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.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. 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.