Struct dot_parser::ast::AttrList [−][src]
Expand description
A list of AList
s, i.e. a list of list of attributes. This (strange)
indirection is induced by the grammar. This structure corresponds to the
attr_list
non-terminal of the grammar.
Notice methods flatten
and flatten_ref
to remove the indirection.
Fields
elems: Vec<AList<'a, A>>
The list of AList
s.
Implementations
Flatten the nested AList
s: returns a single AList
that contains all
attributes contained in the AttrList
.
Flatten the nested AList
s: returns a single AList
that contains all
attributes contained in the AttrList
.
Trait Implementations
Creates a value from an iterator. Read more
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