pub struct EditDiff {
pub added: BTreeMap<String, String>,
pub updated: BTreeMap<String, String>,
pub removed: Vec<String>,
}Expand description
Result of parsing an edited buffer and diffing against the original.
Fields§
§added: BTreeMap<String, String>Keys that were added (not in original).
updated: BTreeMap<String, String>Keys that were updated (value changed).
removed: Vec<String>Keys that were removed (in original but not in edited).
Implementations§
Trait Implementations§
impl Eq for EditDiff
impl StructuralPartialEq for EditDiff
Auto Trait Implementations§
impl Freeze for EditDiff
impl RefUnwindSafe for EditDiff
impl Send for EditDiff
impl Sync for EditDiff
impl Unpin for EditDiff
impl UnsafeUnpin for EditDiff
impl UnwindSafe for EditDiff
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