Struct rc_zip::parse::LzmaProperties
source · pub struct LzmaProperties {
pub major: u8,
pub minor: u8,
pub properties_size: u16,
}
Expand description
5.8.5 LZMA Properties header
Fields§
§major: u8
major version
minor: u8
minor version
properties_size: u16
properties size
Implementations§
source§impl LzmaProperties
impl LzmaProperties
sourcepub fn to_owned(&self) -> LzmaProperties
pub fn to_owned(&self) -> LzmaProperties
Copy the structure and clone the original values.
This is always a deep copy.
source§impl LzmaProperties
impl LzmaProperties
sourcepub fn into_owned(self) -> LzmaProperties
pub fn into_owned(self) -> LzmaProperties
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 LzmaProperties
impl Debug for LzmaProperties
source§impl IntoOwned for LzmaProperties
impl IntoOwned for LzmaProperties
source§type Owned = LzmaProperties
type Owned = LzmaProperties
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 LzmaProperties
impl RefUnwindSafe for LzmaProperties
impl Send for LzmaProperties
impl Sync for LzmaProperties
impl Unpin for LzmaProperties
impl UnwindSafe for LzmaProperties
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