pub struct ApplyFileOptions {
pub unidiff_zero: bool,
}Expand description
Options for apply_file_patch_with_options, mirroring the git apply
flags that change fragment placement.
Fields§
§unidiff_zero: bool--unidiff-zero: trust the line numbers of context-free hunks instead of
forcing them to anchor at the file’s beginning/end.
Trait Implementations§
Source§impl Clone for ApplyFileOptions
impl Clone for ApplyFileOptions
Source§fn clone(&self) -> ApplyFileOptions
fn clone(&self) -> ApplyFileOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ApplyFileOptions
impl Default for ApplyFileOptions
Source§fn default() -> ApplyFileOptions
fn default() -> ApplyFileOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApplyFileOptions
impl RefUnwindSafe for ApplyFileOptions
impl Send for ApplyFileOptions
impl Sync for ApplyFileOptions
impl Unpin for ApplyFileOptions
impl UnsafeUnpin for ApplyFileOptions
impl UnwindSafe for ApplyFileOptions
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