pub enum LineMark {
Added,
Modified,
Deleted,
}Expand description
A per-line change marker for the editor’s diff gutter.
Variants§
Added
The line is new since the committed version.
Modified
The line replaces a committed line (content changed).
Deleted
One or more committed lines were removed at this position.
Trait Implementations§
impl Copy for LineMark
impl Eq for LineMark
impl StructuralPartialEq for LineMark
Auto Trait Implementations§
impl Freeze for LineMark
impl RefUnwindSafe for LineMark
impl Send for LineMark
impl Sync for LineMark
impl Unpin for LineMark
impl UnsafeUnpin for LineMark
impl UnwindSafe for LineMark
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