Enum NodeEdge
pub enum NodeEdge<T>
An edge of the node graph returned by a traversal iterator.
Variants
-
Start(T) Indicates that start of a node that has children. Yielded by
Traverse::nextbefore 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::nextafter 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>
fn clone(&self) -> Self
impl<T: Debug> Debug for NodeEdge<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result