Struct diffy::DiffOptions
source · [−]pub struct DiffOptions { /* private fields */ }
Expand description
A collection of options for modifying the way a diff is performed
Implementations
sourceimpl 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
sourceimpl Debug for DiffOptions
impl Debug for DiffOptions
Auto Trait Implementations
impl RefUnwindSafe for DiffOptions
impl Send for DiffOptions
impl Sync for DiffOptions
impl Unpin for DiffOptions
impl UnwindSafe for DiffOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more