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]
impl Debug for ElementData
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ElementData
[src]
impl PartialEq for ElementData
fn eq(&self, other: &ElementData) -> bool
[src]
fn eq(&self, other: &ElementData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ElementData) -> bool
[src]
fn ne(&self, other: &ElementData) -> bool
This method tests for !=
.
impl Clone for ElementData
[src]
impl Clone for ElementData
fn clone(&self) -> ElementData
[src]
fn clone(&self) -> ElementData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !Send for ElementData
impl !Send for ElementData
impl !Sync for ElementData
impl !Sync for ElementData