Enum svgdom::NodeType [] [src]

pub enum NodeType {
    Root,
    Element,
    Declaration,
    Comment,
    Cdata,
    Text,
}

List of supported node types.

Variants

Root node of the Document.

Constructed with Document. Unavailable to user.

Element node.

Only an element can have attributes, ID and tag name.

Declaration node.

Comment node.

CDATA node.

Text node.

Trait Implementations

impl Clone for NodeType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for NodeType
[src]

impl PartialEq for NodeType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for NodeType
[src]

Formats the value using the given formatter.