Enum rc_zip::parse::MethodSpecific
source · pub enum MethodSpecific {
None,
Lzma(LzmaProperties),
}
Expand description
Method-specific properties following the local file header
Variants§
Implementations§
source§impl MethodSpecific
impl MethodSpecific
sourcepub fn to_owned(&self) -> MethodSpecific
pub fn to_owned(&self) -> MethodSpecific
Copy the structure and clone the original values.
This is always a deep copy.
source§impl MethodSpecific
impl MethodSpecific
sourcepub fn into_owned(self) -> MethodSpecific
pub fn into_owned(self) -> MethodSpecific
Copy the structure and clone the original values if it’s not owned.
This is always a deep copy of the structure.
Trait Implementations§
source§impl Debug for MethodSpecific
impl Debug for MethodSpecific
source§impl IntoOwned for MethodSpecific
impl IntoOwned for MethodSpecific
source§type Owned = MethodSpecific
type Owned = MethodSpecific
The type after obtaining ownership, should be the same as before but with static lifetime.
source§fn into_owned(self) -> Self::Owned
fn into_owned(self) -> Self::Owned
Copy the structure and clone the original values if it’s not owned. Read more
Auto Trait Implementations§
impl Freeze for MethodSpecific
impl RefUnwindSafe for MethodSpecific
impl Send for MethodSpecific
impl Sync for MethodSpecific
impl Unpin for MethodSpecific
impl UnwindSafe for MethodSpecific
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