pub struct CodeDiff {
pub lines: Vec<LineEdit>,
}Expand description
Edit script from one source to another.
Fields§
§lines: Vec<LineEdit>Lines in visual order: equal, deleted and inserted lines interleaved so a deleted line sits where it left and an inserted line where it arrives.
Trait Implementations§
impl Eq for CodeDiff
impl StructuralPartialEq for CodeDiff
Auto Trait Implementations§
impl Freeze for CodeDiff
impl RefUnwindSafe for CodeDiff
impl Send for CodeDiff
impl Sync for CodeDiff
impl Unpin for CodeDiff
impl UnsafeUnpin for CodeDiff
impl UnwindSafe for CodeDiff
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