pub enum NodeEdge {
Start(DomNode),
End(DomNode),
}Expand description
A node type during traverse.
Variants§
Start(DomNode)
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(DomNode)
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§
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