pub struct TextDiffHunk {
pub lines: Vec<DiffLine>,
}Expand description
A group of contiguous diff lines with surrounding context.
Fields§
§lines: Vec<DiffLine>Trait Implementations§
Source§impl Clone for TextDiffHunk
impl Clone for TextDiffHunk
Source§fn clone(&self) -> TextDiffHunk
fn clone(&self) -> TextDiffHunk
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 moreAuto Trait Implementations§
impl Freeze for TextDiffHunk
impl RefUnwindSafe for TextDiffHunk
impl Send for TextDiffHunk
impl Sync for TextDiffHunk
impl Unpin for TextDiffHunk
impl UnsafeUnpin for TextDiffHunk
impl UnwindSafe for TextDiffHunk
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