pub enum Rule {
Show 84 variants EOI, WHITESPACE, COMMENT, pax_component_definition, root_tag_pair, inner_nodes, open_tag, closing_tag, attribute_key_value_pair, attribute_event_id, attribute_event_binding, any_template_value, any_tag_pair, matched_tag, node_inner_content, self_closing_tag, string, inner, char, inner_templated, inner_templated_dynamic, identifier, pascal_identifier, settings_block_declaration, selector_block, literal_object, selector, settings_key_value_pair, settings_key, settings_value, literal_value, literal_number_with_unit, literal_number, literal_number_integer, literal_number_float, literal_number_unit, literal_tuple, literal_enum_value, literal_enum_args_list, expression, expression_symbolic_binding, expression_body, expression_operand, expression_grouped, xo_infix_binary, xo_prefix_unary, xo_literal, xo_literal_object, xo_literal_object_settings_key_value_pair, xo_symbol, xo_tuple, xo_group_open, xo_group_close, xo_obj_open, xo_obj_close, xo_obj_separator, xo_bool_or, xo_bool_and, xo_add, xo_sub, xo_mul, xo_div, xo_mod, xo_exp, xo_bool_not, xo_tern_then, xo_tern_else, xo_rel_lt, xo_rel_gt, xo_rel_lte, xo_rel_gte, xo_rel_eq, xo_rel_neq, xo_range, xo_range_exclusive, xo_range_inclusive, xo_function_call, xo_function_args_list, statement_control_flow, statement_if, statement_for, statement_slot, statement_for_predicate_declaration, statement_for_predicate_source,
}

Variants

EOI

WHITESPACE

COMMENT

pax_component_definition

root_tag_pair

inner_nodes

open_tag

closing_tag

attribute_key_value_pair

attribute_event_id

attribute_event_binding

any_template_value

any_tag_pair

matched_tag

node_inner_content

self_closing_tag

string

inner

char

inner_templated

inner_templated_dynamic

identifier

pascal_identifier

settings_block_declaration

selector_block

literal_object

selector

settings_key_value_pair

settings_key

settings_value

literal_value

literal_number_with_unit

literal_number

literal_number_integer

literal_number_float

literal_number_unit

literal_tuple

literal_enum_value

literal_enum_args_list

expression

expression_symbolic_binding

expression_body

expression_operand

expression_grouped

xo_infix_binary

xo_prefix_unary

xo_literal

xo_literal_object

xo_literal_object_settings_key_value_pair

xo_symbol

xo_tuple

xo_group_open

xo_group_close

xo_obj_open

xo_obj_close

xo_obj_separator

xo_bool_or

xo_bool_and

xo_add

xo_sub

xo_mul

xo_div

xo_mod

xo_exp

xo_bool_not

xo_tern_then

xo_tern_else

xo_rel_lt

xo_rel_gt

xo_rel_lte

xo_rel_gte

xo_rel_eq

xo_rel_neq

xo_range

xo_range_exclusive

xo_range_inclusive

xo_function_call

xo_function_args_list

statement_control_flow

statement_if

statement_for

statement_slot

statement_for_predicate_declaration

statement_for_predicate_source

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

Parses a &str starting from rule.

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. 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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.