pub struct DiffRanges {
pub hunks: Vec<DiffHunk>,
}Expand description
Sequence of hunks from collect_diff_ranges (parent[i] aligns with target[i]).
Fields§
§hunks: Vec<DiffHunk>Trait Implementations§
Source§impl Clone for DiffRanges
impl Clone for DiffRanges
Source§fn clone(&self) -> DiffRanges
fn clone(&self) -> DiffRanges
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 DiffRanges
impl Debug for DiffRanges
Source§impl Default for DiffRanges
impl Default for DiffRanges
Source§fn default() -> DiffRanges
fn default() -> DiffRanges
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DiffRanges
impl RefUnwindSafe for DiffRanges
impl Send for DiffRanges
impl Sync for DiffRanges
impl Unpin for DiffRanges
impl UnsafeUnpin for DiffRanges
impl UnwindSafe for DiffRanges
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