pub struct LineDiff {
pub rows: Vec<DiffRow>,
pub hunks: Vec<Range<usize>>,
pub stats: DiffStats,
}Fields§
§rows: Vec<DiffRow>§hunks: Vec<Range<usize>>Row ranges of consecutive non-equal rows, for next/previous change.
stats: DiffStatsImplementations§
Trait Implementations§
impl Eq for LineDiff
impl StructuralPartialEq for LineDiff
Auto Trait Implementations§
impl Freeze for LineDiff
impl RefUnwindSafe for LineDiff
impl Send for LineDiff
impl Sync for LineDiff
impl Unpin for LineDiff
impl UnsafeUnpin for LineDiff
impl UnwindSafe for LineDiff
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