pub enum Rule {
Show 44 variants
EOI,
template,
element,
raw_text,
action,
action_start,
action_end,
action_body,
comment,
if_action,
else_if_action,
else_action,
end_action,
range_action,
range_clause,
range_vars,
with_action,
define_action,
template_action,
block_action,
pipeline,
pipeline_decl,
pipeline_expr,
command,
parenthesized,
function_call,
method_call,
bare_identifier,
argument,
field_chain,
root_marker,
field_path,
variable,
keyword,
identifier,
literal,
string_literal,
string_content,
raw_string_content,
char_literal,
number,
boolean,
nil,
ws,
}Variants§
EOI
End-of-input
template
element
raw_text
action
action_start
action_end
action_body
comment
if_action
else_if_action
else_action
end_action
range_action
range_clause
range_vars
with_action
define_action
template_action
block_action
pipeline
pipeline_decl
pipeline_expr
command
parenthesized
function_call
method_call
bare_identifier
argument
field_chain
root_marker
field_path
variable
keyword
identifier
literal
string_literal
string_content
raw_string_content
char_literal
number
boolean
nil
ws
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.