Struct flo_http_ui::HtmlDiff
[−]
[src]
pub struct HtmlDiff { pub address: Vec<u32>, pub ui_tree: Value, pub new_html: String, }
Describes a HTML node that should be changed
Fields
address: Vec<u32>
The address in the document of the node to be replaced
ui_tree: Value
The UI tree corresponding to the new HTML
new_html: String
The HTML that should replace this node
Methods
impl HtmlDiff
[src]
pub fn new(address: Vec<u32>, ui_tree: &Control, new_html: String) -> HtmlDiff
[src]
Creates a new HTML diff
Trait Implementations
impl Clone for HtmlDiff
[src]
fn clone(&self) -> HtmlDiff
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for HtmlDiff
[src]
fn eq(&self, __arg_0: &HtmlDiff) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HtmlDiff) -> bool
[src]
This method tests for !=
.