Enum inlined_parser::NodeContents [] [src]

pub enum NodeContents<'a> {
    Data(&'a [u8]),
    Children(Vec<Node<'a>>),
}

Variants

A &[u8] byte slice this node matched in the parse input. Only leaf nodes have Data contents.

Children of the node, if any. Only non-leaf nodes have Children contents.

Trait Implementations

impl<'a> Debug for NodeContents<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for NodeContents<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.