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
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§
Auto Trait Implementations§
impl<T> Freeze for NodeEdge<T>where
T: Freeze,
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§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self to an expression for Diesel’s query builder. Read more