pub enum DiffHunkType {
Added,
Removed,
Modified,
Moved,
}Expand description
The type of change in a diff hunk.
Variants§
Trait Implementations§
Source§impl Clone for DiffHunkType
impl Clone for DiffHunkType
Source§fn clone(&self) -> DiffHunkType
fn clone(&self) -> DiffHunkType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiffHunkType
impl Debug for DiffHunkType
Source§impl PartialEq for DiffHunkType
impl PartialEq for DiffHunkType
impl Eq for DiffHunkType
impl StructuralPartialEq for DiffHunkType
Auto Trait Implementations§
impl Freeze for DiffHunkType
impl RefUnwindSafe for DiffHunkType
impl Send for DiffHunkType
impl Sync for DiffHunkType
impl Unpin for DiffHunkType
impl UnsafeUnpin for DiffHunkType
impl UnwindSafe for DiffHunkType
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