Struct sevenz_rust::SevenZMethod
source · pub struct SevenZMethod(_, _);
Implementations§
source§impl SevenZMethod
impl SevenZMethod
pub const ID_COPY: &'static [u8] = _
pub const ID_LZMA: &'static [u8] = _
pub const ID_LZMA2: &'static [u8] = _
pub const ID_ZSTD: &'static [u8] = _
pub const ID_DEFLATE: &'static [u8] = _
pub const ID_DEFLATE64: &'static [u8] = _
pub const ID_BCJ_X86: &'static [u8] = _
pub const ID_BCJ_PPC: &'static [u8] = _
pub const ID_BCJ_IA64: &'static [u8] = _
pub const ID_BCJ_ARM: &'static [u8] = _
pub const ID_BCJ_ARM_THUMB: &'static [u8] = _
pub const ID_BCJ_SPARC: &'static [u8] = _
pub const ID_DELTA: &'static [u8] = _
pub const ID_AES256SHA256: &'static [u8] = _
sourcepub const COPY: SevenZMethod = _
pub const COPY: SevenZMethod = _
no compression
pub const LZMA: Self = _
pub const LZMA2: Self = _
pub const ZSTD: Self = _
pub const DEFLATE: Self = _
pub const DEFLATE64: Self = _
pub const BZIP2: Self = _
pub const AES256SHA256: Self = _
pub const BCJ_X86_FILTER: Self = _
pub const BCJ_PPC_FILTER: Self = _
pub const BCJ_IA64_FILTER: Self = _
pub const BCJ_ARM_FILTER: Self = _
pub const BCJ_ARM_THUMB_FILTER: Self = _
pub const BCJ_SPARC_FILTER: Self = _
pub const DELTA_FILTER: Self = _
pub const fn name(&self) -> &'static str
pub const fn id(&self) -> &'static [u8] ⓘ
pub fn by_id(id: &[u8]) -> Option<Self>
Trait Implementations§
source§impl Clone for SevenZMethod
impl Clone for SevenZMethod
source§fn clone(&self) -> SevenZMethod
fn clone(&self) -> SevenZMethod
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 SevenZMethod
impl Debug for SevenZMethod
source§impl Default for SevenZMethod
impl Default for SevenZMethod
source§fn default() -> SevenZMethod
fn default() -> SevenZMethod
Returns the “default value” for a type. Read more
source§impl Hash for SevenZMethod
impl Hash for SevenZMethod
source§impl PartialEq<SevenZMethod> for SevenZMethod
impl PartialEq<SevenZMethod> for SevenZMethod
source§fn eq(&self, other: &SevenZMethod) -> bool
fn eq(&self, other: &SevenZMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.