Struct sevenz_rust::SevenZMethodConfiguration
source · pub struct SevenZMethodConfiguration {
pub method: SevenZMethod,
pub options: Option<MethodOptions>,
}
Fields§
§method: SevenZMethod
§options: Option<MethodOptions>
Implementations§
source§impl SevenZMethodConfiguration
impl SevenZMethodConfiguration
pub fn new(method: SevenZMethod) -> Self
pub fn with_options(self, options: MethodOptions) -> Self
Trait Implementations§
source§impl Clone for SevenZMethodConfiguration
impl Clone for SevenZMethodConfiguration
source§impl Debug for SevenZMethodConfiguration
impl Debug for SevenZMethodConfiguration
source§impl Default for SevenZMethodConfiguration
impl Default for SevenZMethodConfiguration
source§fn default() -> SevenZMethodConfiguration
fn default() -> SevenZMethodConfiguration
Returns the “default value” for a type. Read more
source§impl From<LZMA2Options> for SevenZMethodConfiguration
impl From<LZMA2Options> for SevenZMethodConfiguration
source§fn from(value: LZMA2Options) -> Self
fn from(value: LZMA2Options) -> Self
Converts to this type from the input type.
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.
Auto Trait Implementations§
impl Freeze for SevenZMethodConfiguration
impl RefUnwindSafe for SevenZMethodConfiguration
impl Send for SevenZMethodConfiguration
impl Sync for SevenZMethodConfiguration
impl Unpin for SevenZMethodConfiguration
impl UnwindSafe for SevenZMethodConfiguration
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
)