pub enum NodeEdge {
Start(NodeId),
End(NodeId),
}Expand description
Indicator if the node is at a start or endpoint of the tree
Variants§
Start(NodeId)
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(NodeId)
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 Copy for NodeEdge
impl Eq for NodeEdge
impl StructuralPartialEq for NodeEdge
Auto Trait Implementations§
impl Freeze for NodeEdge
impl RefUnwindSafe for NodeEdge
impl Send for NodeEdge
impl Sync for NodeEdge
impl Unpin for NodeEdge
impl UnwindSafe for NodeEdge
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more