pub struct GitDiffHunk {
pub header: String,
pub lines: Vec<String>,
}Expand description
Represents a git diff hunk.
Fields§
§header: StringThe hunk header.
lines: Vec<String>The lines of the hunk.
Auto Trait Implementations§
impl Freeze for GitDiffHunk
impl RefUnwindSafe for GitDiffHunk
impl Send for GitDiffHunk
impl Sync for GitDiffHunk
impl Unpin for GitDiffHunk
impl UnsafeUnpin for GitDiffHunk
impl UnwindSafe for GitDiffHunk
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