pub struct CombinedRenderOptions {
pub dense: bool,
pub context: usize,
pub algorithm: DiffAlgorithm,
pub ws_ignore: WsIgnore,
}Expand description
Options controlling the combined-diff body emission.
Fields§
§dense: bool--cc dense simplification (drop hunks the result shares with a parent);
-c (plain combined) leaves it false.
context: usizeUnified-context line count (-U, default 3).
algorithm: DiffAlgorithmLine-diff algorithm used for each parent-vs-result 2-way diff.
ws_ignore: WsIgnoreWhitespace-ignore flags applied to each parent-vs-result 2-way diff and to the lost-line coalescing match.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CombinedRenderOptions
impl RefUnwindSafe for CombinedRenderOptions
impl Send for CombinedRenderOptions
impl Sync for CombinedRenderOptions
impl Unpin for CombinedRenderOptions
impl UnsafeUnpin for CombinedRenderOptions
impl UnwindSafe for CombinedRenderOptions
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