pub struct DiffHunk {
pub parent: Range,
pub target: Range,
}Expand description
One aligned parent/target hunk from a line diff (half-open line indices).
Fields§
§parent: Range§target: RangeTrait Implementations§
impl Copy for DiffHunk
impl Eq for DiffHunk
impl StructuralPartialEq for DiffHunk
Auto Trait Implementations§
impl Freeze for DiffHunk
impl RefUnwindSafe for DiffHunk
impl Send for DiffHunk
impl Sync for DiffHunk
impl Unpin for DiffHunk
impl UnsafeUnpin for DiffHunk
impl UnwindSafe for DiffHunk
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