Enum NodeEdge
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>
Implementations
impl<T> Any for NodeEdge<T>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for NodeEdge<T>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for NodeEdge<T>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for NodeEdge<T>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> Freeze for NodeEdge<T>
impl<T> From for NodeEdge<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> RefUnwindSafe for NodeEdge<T>
impl<T> Send for NodeEdge<T>
impl<T> Sync for NodeEdge<T>
impl<T> ToOwned for NodeEdge<T>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> Unpin for NodeEdge<T>
impl<T> UnwindSafe for NodeEdge<T>
impl<T, U> Into for NodeEdge<T>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for NodeEdge<T>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for NodeEdge<T>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T: $crate::clone::Clone> Clone for NodeEdge<T>
fn clone(self: &Self) -> NodeEdge<T>
impl<T: $crate::fmt::Debug> Debug for NodeEdge<T>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result