pub struct HistogramDiff {
pub hunks: Vec<HistogramHunk>,
}Expand description
Result of histogram diff.
Fields§
§hunks: Vec<HistogramHunk>Implementations§
Source§impl HistogramDiff
impl HistogramDiff
pub fn new() -> Self
pub fn hunk_count(&self) -> usize
pub fn is_identical(&self) -> bool
pub fn changed_lines(&self) -> usize
Trait Implementations§
Source§impl Clone for HistogramDiff
impl Clone for HistogramDiff
Source§fn clone(&self) -> HistogramDiff
fn clone(&self) -> HistogramDiff
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 HistogramDiff
impl Debug for HistogramDiff
Auto Trait Implementations§
impl Freeze for HistogramDiff
impl RefUnwindSafe for HistogramDiff
impl Send for HistogramDiff
impl Sync for HistogramDiff
impl Unpin for HistogramDiff
impl UnsafeUnpin for HistogramDiff
impl UnwindSafe for HistogramDiff
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