Enum kuchiki::NodeData [] [src]

pub enum NodeData {
    Element(ElementData),
    Text(RefCell<String>),
    Comment(RefCell<String>),
    Doctype(Doctype),
    Document(DocumentData),
    DocumentFragment,
}

Node data specific to the node type.

Variants

Element(ElementData)

Element node

Text(RefCell<String>)

Text node

Comment(RefCell<String>)

Comment node

Doctype(Doctype)

Doctype node

Document(DocumentData)

Document node

DocumentFragment

Document fragment node

Trait Implementations

impl Clone for NodeData
[src]

fn clone(&self) -> NodeData

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 PartialEq for NodeData
[src]

fn eq(&self, __arg_0: &NodeData) -> bool

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

fn ne(&self, __arg_0: &NodeData) -> bool

This method tests for !=.

impl Debug for NodeData
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.