Struct kuchiki::ElementData
[−]
[src]
pub struct ElementData {
pub name: QualName,
pub attributes: RefCell<Attributes>,
pub template_contents: Option<NodeRef>,
}Data specific to element nodes.
Fields
name: QualName
The namespace and local name of the element, such as ns!(html) and body.
attributes: RefCell<Attributes>
The attributes of the elements.
template_contents: Option<NodeRef>
If the element is an HTML <template> element,
the document fragment node that is the root of template contents.
Trait Implementations
impl Debug for ElementData[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for ElementData[src]
fn eq(&self, __arg_0: &ElementData) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ElementData) -> bool[src]
This method tests for !=.
impl Clone for ElementData[src]
fn clone(&self) -> ElementData[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