Enum arena_tree::NodeEdge [] [src]

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

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: Clone> Clone for NodeEdge<T>
[src]

fn clone(&self) -> NodeEdge<T>

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<T: Debug> Debug for NodeEdge<T>
[src]

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

Formats the value using the given formatter.