Enum kuchiki::iter::NodeEdge
[−]
[src]
pub enum NodeEdge<T> {
Start(T),
End(T),
}Marks either the start or the end of a node.
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: Debug> Debug for NodeEdge<T>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<T: Copy> Copy for NodeEdge<T>[src]
impl<T: Clone> Clone for NodeEdge<T>[src]
fn clone(&self) -> NodeEdge<T>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<T: PartialEq> PartialEq for NodeEdge<T>[src]
fn eq(&self, __arg_0: &NodeEdge<T>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &NodeEdge<T>) -> bool[src]
This method tests for !=.