Enum zip_parser::CompressMethod
source · #[repr(u8)]
pub enum CompressMethod {
Show 16 variants
Uncompress,
Shrunk,
Reduced1,
Reduced2,
Reduced3,
Reduced4,
Imploded,
Deflated,
BZIP2,
LZMA,
LZ77z,
Zstd,
MP3,
XZ,
JPEG,
Unknown,
}
Variants
Uncompress
Shrunk
Reduced1
Reduced2
Reduced3
Reduced4
Imploded
Deflated
BZIP2
LZMA
LZ77z
Zstd
Zstandard (zstd) Compression
MP3
MP3 Compression
XZ
XZ Compression
JPEG
JPEG variant
Unknown
Trait Implementations
sourceimpl Clone for CompressMethod
impl Clone for CompressMethod
sourcefn clone(&self) -> CompressMethod
fn clone(&self) -> CompressMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CompressMethod
impl Debug for CompressMethod
sourceimpl From<u16> for CompressMethod
impl From<u16> for CompressMethod
sourceimpl PartialEq<CompressMethod> for CompressMethod
impl PartialEq<CompressMethod> for CompressMethod
sourcefn eq(&self, other: &CompressMethod) -> bool
fn eq(&self, other: &CompressMethod) -> bool
impl Copy for CompressMethod
impl StructuralPartialEq for CompressMethod
Auto Trait Implementations
impl RefUnwindSafe for CompressMethod
impl Send for CompressMethod
impl Sync for CompressMethod
impl Unpin for CompressMethod
impl UnwindSafe for CompressMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more