Enum kuchiki::iter::NodeEdge [] [src]

pub enum NodeEdge<T> {
    Start(T),
    End(T),
}

Marks either the start or the end of a node.

Variants

Indicates that start of a node that has children. Yielded by Traverse::next before the node’s descendants. In HTML or XML, this corresponds to an opening tag like <div>

Indicates that end of a node that has children. Yielded by Traverse::next after the node’s descendants. In HTML or XML, this corresponds to a closing tag like </div>

Trait Implementations

impl<T: Debug> Debug for NodeEdge<T>
[src]

Formats the value using the given formatter.

impl<T: Copy> Copy for NodeEdge<T>
[src]

impl<T: Clone> Clone for NodeEdge<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for NodeEdge<T>
[src]

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

This method tests for !=.

impl<T: Eq> Eq for NodeEdge<T>
[src]