pub struct WriteOptions { /* private fields */ }Expand description
Options for writing a file into the archive.
Implementations§
Source§impl WriteOptions
impl WriteOptions
Sourcepub fn compression(&self) -> Compression
pub fn compression(&self) -> Compression
Compression algorithm to apply.
pub fn set_compression(&mut self, value: Compression)
pub fn set_locale(&mut self, value: u16)
pub fn set_encrypt(&mut self, value: bool)
Sourcepub fn single_unit(&self) -> bool
pub fn single_unit(&self) -> bool
Store the file as a single unpartitioned unit.
pub fn set_single_unit(&mut self, value: bool)
Trait Implementations§
Source§impl Debug for WriteOptions
impl Debug for WriteOptions
Source§impl Default for WriteOptions
impl Default for WriteOptions
Source§impl Drop for WriteOptions
impl Drop for WriteOptions
impl Send for WriteOptions
Auto Trait Implementations§
impl !Sync for WriteOptions
impl Freeze for WriteOptions
impl RefUnwindSafe for WriteOptions
impl Unpin for WriteOptions
impl UnsafeUnpin for WriteOptions
impl UnwindSafe for WriteOptions
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