pub enum Rule {
Show 123 variants
WHITESPACE,
COMMENT,
decl,
program,
inner,
char,
name,
scalar_type,
ref_type,
value,
random,
indirect_set_query,
set_query,
proc_call,
proc_param_list,
proc_param,
proc_reference,
make_set_query,
empty_query,
rect_query,
circle_query,
line_query,
union_query,
intersect_query,
diff_query,
shrink_query,
expand_query,
bool_value,
number,
text_value,
inner_text,
array_accessor,
field_accessor,
identifier,
general_accessor,
symbol,
any_char,
tag_decl,
state_decl,
event_decl,
unique_decl,
proc_decl,
datatype,
field,
type_member_list,
type_member,
component_call_list,
component_call,
component_arg_list,
negated_call_site,
toggled_call_site,
call_site,
simple_call_site,
complex_call_site,
unique_call,
arg_member_list,
arg_member,
owner_name,
comp_name,
system_title,
system_title_name,
system_priority,
priority,
system_decl,
block,
statements,
statement,
debug_statement,
assignment,
self_mod_assignment,
self_mod_operator,
mod_assignment,
mod_operator,
if_statement,
else_block,
let_statement,
new_value_binding,
for_loop_statement,
match_statement,
match_case,
then_block,
spawn_statement,
consume_statement,
destroy_statement,
update_statement,
trigger_statement,
print_statement,
paint_statement,
proc_call_statement,
quit_statement,
position,
foreground,
background,
debug_print_statement,
on_event_clause,
with_query_clause,
bool_operation,
and_op,
or_op,
binary_relation,
eq_rel,
ne_rel,
lt_rel,
gt_rel,
le_rel,
ge_rel,
additive_op,
plus_op,
minus_op,
multiplicative_op,
mul_op,
div_op,
mod_op,
unary_op,
not_op,
neg_op,
expression,
bin,
additive,
summand,
factor,
negated_primary,
primary,
}
Variants
WHITESPACE
COMMENT
decl
program
inner
char
name
scalar_type
ref_type
value
random
indirect_set_query
set_query
proc_call
proc_param_list
proc_param
proc_reference
make_set_query
empty_query
rect_query
circle_query
line_query
union_query
intersect_query
diff_query
shrink_query
expand_query
bool_value
number
text_value
inner_text
array_accessor
field_accessor
identifier
general_accessor
symbol
any_char
tag_decl
state_decl
event_decl
unique_decl
proc_decl
datatype
field
type_member_list
type_member
component_call_list
component_call
component_arg_list
negated_call_site
toggled_call_site
call_site
simple_call_site
complex_call_site
unique_call
arg_member_list
arg_member
owner_name
comp_name
system_title
system_title_name
system_priority
priority
system_decl
block
statements
statement
debug_statement
assignment
self_mod_assignment
self_mod_operator
mod_assignment
mod_operator
if_statement
else_block
let_statement
new_value_binding
for_loop_statement
match_statement
match_case
then_block
spawn_statement
consume_statement
destroy_statement
update_statement
trigger_statement
print_statement
paint_statement
proc_call_statement
quit_statement
position
foreground
background
debug_print_statement
on_event_clause
with_query_clause
bool_operation
and_op
or_op
binary_relation
eq_rel
ne_rel
lt_rel
gt_rel
le_rel
ge_rel
additive_op
plus_op
minus_op
multiplicative_op
mul_op
div_op
mod_op
unary_op
not_op
neg_op
expression
bin
additive
summand
factor
negated_primary
primary
Trait Implementations
sourceimpl Ord for Rule
impl Ord for Rule
sourceimpl PartialOrd<Rule> for Rule
impl PartialOrd<Rule> for Rule
sourcefn partial_cmp(&self, other: &Rule) -> Option<Ordering>
fn partial_cmp(&self, other: &Rule) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for Rule
impl Eq for Rule
impl StructuralEq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
impl<T> Pointable for T
impl<T> Pointable for T
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more