Enum natural_xml_diff::TextChange
source · Expand description
Describe how a text node should be updated.
Variants§
Equal(String)
This text is equal in both documents.
Delete(String)
This text was deleted.
Insert(String)
This text was inserted.
Trait Implementations§
source§impl Debug for TextChange
impl Debug for TextChange
source§impl PartialEq<TextChange> for TextChange
impl PartialEq<TextChange> for TextChange
source§fn eq(&self, other: &TextChange) -> bool
fn eq(&self, other: &TextChange) -> bool
This method tests for
self and other values to be equal, and is used
by ==.