Enum inlined_parser::NodeContents
[−]
[src]
pub enum NodeContents<'a> { Data(&'a [u8]), Children(Vec<Node<'a>>), }
Variants
Data(&'a [u8])
A &[u8]
byte slice this node matched in the parse input. Only leaf nodes
have Data
contents.
Children(Vec<Node<'a>>)
Children of the node, if any. Only non-leaf nodes have Children
contents.
Trait Implementations
impl<'a> Debug for NodeContents<'a>
[src]
impl<'a> PartialEq for NodeContents<'a>
[src]
fn eq(&self, __arg_0: &NodeContents<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NodeContents<'a>) -> bool
This method tests for !=
.