Struct mt_dom::patch::ChangeText [−][src]
Expand description
A patch where the text content of a text node is changed
Fields
patch_path: TreePaththe target element to be patch can be traverse using this patch path
old: &'a Textthe old text is not really needed for applying the patch. but it is useful for debugging purposed, that we are changing the intended target text by visual inspection
new: &'a Textthe neew text patch
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 ChangeText<'a>
impl<'a> Send for ChangeText<'a>
impl<'a> Sync for ChangeText<'a>
impl<'a> Unpin for ChangeText<'a>
impl<'a> UnwindSafe for ChangeText<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more