pub struct DiffOptions { /* private fields */ }
Expand description
A collection of options for modifying the way a diff is performed
Implementations§
source§impl DiffOptions
impl DiffOptions
sourcepub fn set_context_len(&mut self, context_len: usize) -> &mut Self
pub fn set_context_len(&mut self, context_len: usize) -> &mut Self
Set the number of context lines that should be used when producing a patch
Trait Implementations§
source§impl Debug for DiffOptions
impl Debug for DiffOptions
Auto Trait Implementations§
impl Freeze for DiffOptions
impl RefUnwindSafe for DiffOptions
impl Send for DiffOptions
impl Sync for DiffOptions
impl Unpin for DiffOptions
impl UnwindSafe for DiffOptions
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