pub struct Patch {
pub diffs: Vec<Diff>,
pub start1: usize,
pub start2: usize,
pub length1: usize,
pub length2: usize,
}Expand description
Struct representing one patch operation.
Fields§
§diffs: Vec<Diff>§start1: usize§start2: usize§length1: usize§length2: usizeTrait Implementations§
impl StructuralPartialEq for Patch
Auto Trait Implementations§
impl Freeze for Patch
impl RefUnwindSafe for Patch
impl Send for Patch
impl Sync for Patch
impl Unpin for Patch
impl UnwindSafe for Patch
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