Struct mt_dom::patch::ChangeComment [−][src]
pub struct ChangeComment<'a> {
pub patch_path: TreePath,
pub old: &'a String,
pub new: &'a String,
}
Expand description
A patch where the comment node is changed
Fields
patch_path: TreePath
the target element to be patch can be traverse using this patch path
old: &'a String
old comment
new: &'a String
new comment
Implementations
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ChangeComment<'a>
impl<'a> Send for ChangeComment<'a>
impl<'a> Sync for ChangeComment<'a>
impl<'a> Unpin for ChangeComment<'a>
impl<'a> UnwindSafe for ChangeComment<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more