Enum svgdom::NodeType [−][src]
pub enum NodeType { Root, Element, Comment, Text, }
List of supported node types.
Variants
Root
The root node of the Document
.
Constructed with Document
. Unavailable to the user.
Element
An element node.
Only an element can have attributes, ID and tag name.
Comment
A comment node.
Text
A text node.
Trait Implementations
impl Clone for NodeType
[src]
impl Clone for NodeType
fn clone(&self) -> NodeType
[src]
fn clone(&self) -> NodeType
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
impl Copy for NodeType
[src]
impl Copy for NodeType
impl PartialEq for NodeType
[src]
impl PartialEq for NodeType
fn eq(&self, other: &NodeType) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for NodeType
[src]
impl Debug for NodeType