Enum stdweb::web::NodeType
[−]
[src]
pub enum NodeType { Element, Text, ProcessingInstruction, Comment, Document, DocumentType, DocumentFragment, Attribute, CDataSection, XmlEntityReference, XmlEntity, XmlNotation, }
Determines the type of a Node
.
Variants
Element
An Element
such as <p>
or <div>
.
Text
The actual Text
of Element
or Attr
.
ProcessingInstruction
A ProcessingInstruction
of an XML document.
Comment
A Comment
node.
Document
A 'Document' node.
DocumentType
A 'DocumentType' node such as <!DOCTYPE html>
DocumentFragment
A 'DocumentFragment' node.
Attribute
Deprecated.
CDataSection
Deprecated.
XmlEntityReference
Deprecated.
XmlEntity
Deprecated.
XmlNotation
Deprecated.
Trait Implementations
impl Clone for NodeType
[src]
fn clone(&self) -> NodeType
[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 Copy for NodeType
[src]
impl Debug for NodeType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more