pub struct SaveOpt {
pub preserve_header: bool,
}Expand description
Options affecting how a file is written.
Fields§
§preserve_header: boolKeep the header bytes exactly as they were read rather than regenerating them.
Trait Implementations§
impl Copy for SaveOpt
impl Eq for SaveOpt
impl StructuralPartialEq for SaveOpt
Auto Trait Implementations§
impl Freeze for SaveOpt
impl RefUnwindSafe for SaveOpt
impl Send for SaveOpt
impl Sync for SaveOpt
impl Unpin for SaveOpt
impl UnsafeUnpin for SaveOpt
impl UnwindSafe for SaveOpt
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