Enum svgdom::NodeType
[−]
[src]
pub enum NodeType { Root, Element, Declaration, Comment, Cdata, Text, }
List of supported node types.
Variants
Root
Root node of the Document
.
Constructed with Document
. Unavailable to user.
Element
Element node.
Only an element can have attributes, ID and tag name.
Declaration
Declaration node.
Comment
Comment node.
Cdata
CDATA node.
Text
Text node.
Trait Implementations
impl Clone for NodeType
[src]
fn clone(&self) -> NodeType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for NodeType
[src]
impl PartialEq for NodeType
[src]
fn eq(&self, __arg_0: &NodeType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.