pub enum LineKind {
Added,
Removed,
NoNewline,
}Expand description
What happened to one line at the text rung.
Variants§
Added
The line exists only on the after side.
Removed
The line exists only on the before side.
NoNewline
The synthetic marker after a changed line with no trailing newline — its own kind, so document content that happens to contain the marker text can never be mistaken for it.
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