pub enum Sign {
AddOrChange,
DeleteAfter,
}Expand description
One changed line, for gutter signs. Hunk headers include context lines, so signs track the +/- lines, not the header range.
Variants§
AddOrChange
Buffer line was added or changed.
DeleteAfter
Buffer line sits right below a deletion (the line number may be one past the buffer end for an EOF deletion — clamp on render).
Trait Implementations§
impl Copy for Sign
impl Eq for Sign
impl StructuralPartialEq for Sign
Auto Trait Implementations§
impl Freeze for Sign
impl RefUnwindSafe for Sign
impl Send for Sign
impl Sync for Sign
impl Unpin for Sign
impl UnsafeUnpin for Sign
impl UnwindSafe for Sign
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