pub enum DiffMark {
RemovedLine,
InsertedLine,
RemovedText,
InsertedText,
}Expand description
What a marked range is.
Variants§
RemovedLine
A whole line of the original that was removed or replaced.
InsertedLine
A whole line of the modified text that was inserted or replaces others.
RemovedText
Chars inside a changed line of the original.
InsertedText
Chars inside a changed line of the modified text.
Trait Implementations§
impl Copy for DiffMark
impl Eq for DiffMark
impl StructuralPartialEq for DiffMark
Auto Trait Implementations§
impl Forget for DiffMark
impl Freeze for DiffMark
impl Move for DiffMark
impl RefUnwindSafe for DiffMark
impl Send for DiffMark
impl Sync for DiffMark
impl Unpin for DiffMark
impl UnsafeUnpin for DiffMark
impl UnwindSafe for DiffMark
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