pub struct TextDiffResult {
pub hunks: Vec<TextDiffHunk>,
pub deletions: usize,
pub insertions: usize,
}Expand description
Result of a line-level text diff.
Fields§
§hunks: Vec<TextDiffHunk>§deletions: usize§insertions: usizeTrait Implementations§
Source§impl Clone for TextDiffResult
impl Clone for TextDiffResult
Source§fn clone(&self) -> TextDiffResult
fn clone(&self) -> TextDiffResult
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 TextDiffResult
impl RefUnwindSafe for TextDiffResult
impl Send for TextDiffResult
impl Sync for TextDiffResult
impl Unpin for TextDiffResult
impl UnsafeUnpin for TextDiffResult
impl UnwindSafe for TextDiffResult
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