pub enum Rule {
Show 48 variants
EOI,
bom,
file,
file_item,
command_invocation,
identifier,
template_placeholder,
arguments,
argument_part,
argument,
argument_boundary,
line_ending,
newline,
space,
bracket_comment,
line_comment,
bracket_argument,
bracket_open,
bracket_content,
bracket_close,
bracket_close_any,
bracket_leading_newline,
mixed_unquoted_argument,
quoted_argument,
quoted_element,
quoted_text,
quoted_continuation,
unquoted_argument,
unquoted_element,
legacy_quoted,
legacy_make_var,
nested_parens,
nested_parens_inner,
nested_parens_text,
unquoted_text,
escape_sequence,
escape_encoded,
escape_semicolon,
escape_identity,
variable_ref,
normal_var,
env_var,
cache_var,
var_name,
normal_var_inner,
genex,
genex_content,
genex_inner,
}Variants§
EOI
End-of-input
bom
file
file_item
command_invocation
identifier
template_placeholder
arguments
argument_part
argument
argument_boundary
line_ending
newline
space
bracket_comment
line_comment
bracket_argument
bracket_open
bracket_content
bracket_close
bracket_close_any
bracket_leading_newline
mixed_unquoted_argument
quoted_argument
quoted_element
quoted_text
quoted_continuation
unquoted_argument
unquoted_element
legacy_quoted
legacy_make_var
nested_parens
nested_parens_inner
nested_parens_text
unquoted_text
escape_sequence
escape_encoded
escape_semicolon
escape_identity
variable_ref
normal_var
env_var
cache_var
var_name
normal_var_inner
genex
genex_content
genex_inner
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 UnsafeUnpin 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.