Enum ba2::fo4::CompressionFormat
source · pub enum CompressionFormat {
Zip,
LZ4,
}
Expand description
A list of all compression methods supported by the ba2 format.
Variants§
Zip
The default compression format, compatible with all games that utilize the ba2 format.
LZ4
A more specialized format leveraging lz4’s fast decompression to improve streaming time.
Only compatible with Starfield or later.
Trait Implementations§
source§impl Clone for CompressionFormat
impl Clone for CompressionFormat
source§fn clone(&self) -> CompressionFormat
fn clone(&self) -> CompressionFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CompressionFormat
impl Debug for CompressionFormat
source§impl Default for CompressionFormat
impl Default for CompressionFormat
source§fn default() -> CompressionFormat
fn default() -> CompressionFormat
Returns the “default value” for a type. Read more
source§impl PartialEq for CompressionFormat
impl PartialEq for CompressionFormat
source§fn eq(&self, other: &CompressionFormat) -> bool
fn eq(&self, other: &CompressionFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompressionFormat
impl Eq for CompressionFormat
impl StructuralPartialEq for CompressionFormat
Auto Trait Implementations§
impl RefUnwindSafe for CompressionFormat
impl Send for CompressionFormat
impl Sync for CompressionFormat
impl Unpin for CompressionFormat
impl UnwindSafe for CompressionFormat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more