Enum ba2::fo4::CompressionLevel
source · pub enum CompressionLevel {
FO4,
FO4Xbox,
SF,
}
Expand description
Specifies the compression level to use when compressing data.
Only compatible with CompressionFormat::Zip
.
Variants§
FO4
Fallout 4.
FO4Xbox
Fallout 4 on the xbox.
Uses a smaller windows size, but higher a compression level to yield a higher compression ratio.
SF
Starfield.
Uses a custom DEFLATE algorithm with zlib wrapper to obtain a good compression ratio.
Implementations§
Trait Implementations§
source§impl Clone for CompressionLevel
impl Clone for CompressionLevel
source§fn clone(&self) -> CompressionLevel
fn clone(&self) -> CompressionLevel
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 CompressionLevel
impl Debug for CompressionLevel
source§impl Default for CompressionLevel
impl Default for CompressionLevel
source§fn default() -> CompressionLevel
fn default() -> CompressionLevel
Returns the “default value” for a type. Read more
source§impl PartialEq for CompressionLevel
impl PartialEq for CompressionLevel
source§fn eq(&self, other: &CompressionLevel) -> bool
fn eq(&self, other: &CompressionLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompressionLevel
impl Eq for CompressionLevel
impl StructuralPartialEq for CompressionLevel
Auto Trait Implementations§
impl RefUnwindSafe for CompressionLevel
impl Send for CompressionLevel
impl Sync for CompressionLevel
impl Unpin for CompressionLevel
impl UnwindSafe for CompressionLevel
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