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