pub enum Rule {
Show 88 variants
EOI,
WHITESPACE,
COMMENT,
null,
quoted_string,
string,
free_text,
number,
decimal_number,
identifier,
dice_value,
number_of_dice,
dice_type,
dice_modifier,
dice_multiplier,
file,
scroll,
include_stmt,
include_path,
scroll_uid,
file_path,
variable_definition,
entity_definition,
entity_name,
entity_parent_name,
entity_declaration,
entity_parent,
subclasses,
attributes,
prepend_assignment,
assignment,
weak_assignment,
prerendered_assignment,
context_assignment,
declaration,
declaration_type,
roll,
pop,
roll_from_list,
roll_from_global,
roll_from_indirect,
indirect,
roll_a_dice,
roll_an_entity,
pop_an_entity,
pick_an_entity,
roll_one_of,
injections,
prepend_copy_value,
append_copy_value,
prepend_ptr,
append_ptr,
attr_spec,
attr_attr_spec,
array,
min,
max,
collect,
global,
values_list,
list_item,
list_value,
probability_spec,
probability_value,
entities_list,
property,
property_name,
is_public,
is_optional,
value,
inheritance,
context,
context_ptr,
context_parent,
context_attr,
template,
template_body,
slim_template,
slim_template_body,
tags,
tag_html,
tag_html_body,
tag_metadata,
tag_metadata_body,
tag_body,
tag_body_body,
tag_header,
tag_header_body,
}Variants§
EOI
End-of-input
WHITESPACE
COMMENT
null
quoted_string
string
free_text
number
decimal_number
identifier
dice_value
number_of_dice
dice_type
dice_modifier
dice_multiplier
file
scroll
include_stmt
include_path
scroll_uid
file_path
variable_definition
entity_definition
entity_name
entity_parent_name
entity_declaration
entity_parent
subclasses
attributes
prepend_assignment
assignment
weak_assignment
prerendered_assignment
context_assignment
declaration
declaration_type
roll
pop
roll_from_list
roll_from_global
roll_from_indirect
indirect
roll_a_dice
roll_an_entity
pop_an_entity
pick_an_entity
roll_one_of
injections
prepend_copy_value
append_copy_value
prepend_ptr
append_ptr
attr_spec
attr_attr_spec
array
min
max
collect
global
values_list
list_item
list_value
probability_spec
probability_value
entities_list
property
property_name
is_public
is_optional
value
inheritance
context
context_ptr
context_parent
context_attr
template
template_body
slim_template
slim_template_body
tag_html
tag_html_body
tag_metadata
tag_metadata_body
tag_body
tag_body_body
tag_header
tag_header_body
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.