pub enum DiffAttr {
Unspecified,
Unset,
Driver(String),
}Expand description
How the diff gitattribute affects diff output.
Variants§
Unspecified
No diff attribute (use heuristics / default).
Unset
-diff / diff=unset / binary — treat as binary for diff purposes.
Driver(String)
diff=<driver> — use named driver (e.g. for textconv).
Trait Implementations§
impl Eq for DiffAttr
impl StructuralPartialEq for DiffAttr
Auto Trait Implementations§
impl Freeze for DiffAttr
impl RefUnwindSafe for DiffAttr
impl Send for DiffAttr
impl Sync for DiffAttr
impl Unpin for DiffAttr
impl UnsafeUnpin for DiffAttr
impl UnwindSafe for DiffAttr
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