pub enum GitDiff {
Added,
Removed,
Modified,
Context,
NoNewline,
}
Expand description
Git diff line indicators
Variants§
Added
Added line
Removed
Removed line
Modified
Modified line
Context
Context line
NoNewline
No newline at end of file
Trait Implementations§
Source§impl UnicodeProvider for GitDiff
impl UnicodeProvider for GitDiff
impl Copy for GitDiff
Auto Trait Implementations§
impl Freeze for GitDiff
impl RefUnwindSafe for GitDiff
impl Send for GitDiff
impl Sync for GitDiff
impl Unpin for GitDiff
impl UnwindSafe for GitDiff
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