Struct dot_parser::ast::NodeStmt [−][src]
pub struct NodeStmt<'a, A = (&'a str, &'a str)> {
pub node: NodeID<'a>,
pub attr: Option<AttrList<'a, A>>,
}
Expand description
This structure corresponds to the node_stmt
non-terminal of the grammar.
It is basically a node identifier attached to some attributes.
Fields
node: NodeID<'a>
The identifier of the node.
attr: Option<AttrList<'a, A>>
The possible list of attributes.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more