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