pub enum DiffMode {
Unified,
SideBySide,
}Expand description
Display mode for the diff viewer.
Variants§
Unified
Unified diff: single column with +/- prefixes.
SideBySide
Side-by-side diff: old on left, new on right.
Trait Implementations§
impl Copy for DiffMode
impl Eq for DiffMode
impl StructuralPartialEq for DiffMode
Auto Trait Implementations§
impl Freeze for DiffMode
impl RefUnwindSafe for DiffMode
impl Send for DiffMode
impl Sync for DiffMode
impl Unpin for DiffMode
impl UnwindSafe for DiffMode
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