pub enum NodeEdge<T> {
Start(T),
End(T),
}
Expand description
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 TraverseIter::next
before the
node’s descendants.
End(T)
Indicates that end of a node that has children. Yielded by TraverseIter::next
after the
node’s descendants.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for NodeEdge<T>where
T: RefUnwindSafe,
impl<T> Send for NodeEdge<T>where
T: Send,
impl<T> Sync for NodeEdge<T>where
T: Sync,
impl<T> Unpin for NodeEdge<T>where
T: Unpin,
impl<T> UnwindSafe for NodeEdge<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more