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
impl Copy for CompressionFormat
impl Eq for CompressionFormat
impl StructuralPartialEq for CompressionFormat
Auto Trait Implementations§
impl Freeze for CompressionFormat
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