Enum indextree::NodeEdge [−][src]
pub enum NodeEdge<T> { Start(T), End(T), }
Indicator if the node is at a start or endpoint of the tree
Variants
Start(T)
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>
End(T)
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]
impl<T: Debug> Debug for NodeEdge<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: Clone> Clone for NodeEdge<T>
[src]
impl<T: Clone> Clone for NodeEdge<T>