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