pub enum LineKind {
Context,
Delete,
Insert,
}Expand description
The per-line origin marker for an emitted diff line.
Variants§
Context
An unchanged ( ) line, present on both sides.
Delete
A removed (-) line, present only on the old side.
Insert
An added (+) line, present only on the new side.
Trait Implementations§
impl Copy for LineKind
impl Eq for LineKind
impl StructuralPartialEq for LineKind
Auto Trait Implementations§
impl Freeze for LineKind
impl RefUnwindSafe for LineKind
impl Send for LineKind
impl Sync for LineKind
impl Unpin for LineKind
impl UnsafeUnpin for LineKind
impl UnwindSafe for LineKind
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