Struct sevenz_rust::SevenZMethod
source · pub struct SevenZMethod(/* private fields */);
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_BZIP2: &'static [u8] = _
pub const ID_AES256SHA256: &'static [u8] = _
pub const ID_BCJ2: &'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 BCJ2_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 From<SevenZMethod> for SevenZMethodConfiguration
impl From<SevenZMethod> for SevenZMethodConfiguration
source§fn from(value: SevenZMethod) -> Self
fn from(value: SevenZMethod) -> Self
Converts to this type from the input type.
source§impl Hash for SevenZMethod
impl Hash for SevenZMethod
source§impl PartialEq for SevenZMethod
impl PartialEq 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 ==
.impl Copy for SevenZMethod
impl Eq for SevenZMethod
impl StructuralPartialEq for SevenZMethod
Auto Trait Implementations§
impl Freeze for SevenZMethod
impl RefUnwindSafe for SevenZMethod
impl Send for SevenZMethod
impl Sync for SevenZMethod
impl Unpin for SevenZMethod
impl UnwindSafe for SevenZMethod
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)