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::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>

fn clone(&self) -> Self

impl<T: Debug> Debug for NodeEdge<T>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl<T> Freeze for NodeEdge<T> where T: Freeze + Freeze,

impl<T> RefUnwindSafe for NodeEdge<T> where T: RefUnwindSafe + RefUnwindSafe,

impl<T> Send for NodeEdge<T> where T: Send + Send,

impl<T> Sync for NodeEdge<T> where T: Sync + Sync,

impl<T> Unpin for NodeEdge<T> where T: Unpin + Unpin,

impl<T> UnsafeUnpin for NodeEdge<T> where T: UnsafeUnpin + UnsafeUnpin,

impl<T> UnwindSafe for NodeEdge<T> where T: UnwindSafe + UnwindSafe,

Blanket Implementations

impl<F, T, S> SimdInto<T, S> for NodeEdge<T> where T: SimdFrom<F, S>, S: Simd,

impl<T> Any for NodeEdge<T> where T: 'static + ?Sized,

impl<T> Borrow<T> for NodeEdge<T> where T: ?Sized,

impl<T> BorrowMut<T> for NodeEdge<T> where T: ?Sized,

impl<T> CloneToUninit for NodeEdge<T> where T: Clone,

impl<T> From<T> for NodeEdge<T>

impl<T> ToOwned for NodeEdge<T> where T: Clone,

impl<T, S> SimdFrom<T, S> for NodeEdge<T> where S: Simd,

impl<T, U> Into<U> for NodeEdge<T> where U: From<T>,

impl<T, U> TryFrom<U> for NodeEdge<T> where U: Into<T>,

impl<T, U> TryInto<U> for NodeEdge<T> where U: TryFrom<T>,