pub enum Rule {
Show 34 variants
EOI,
taskfile,
task,
parameters,
parameter,
required,
help,
ptype,
script,
script_inline,
script_file,
identifier,
opening_brace,
closing_brace,
equals,
quote,
triple_quote,
string,
single_quoted,
inner_single_str,
triple_quoted,
inner_triple_str,
escape,
code,
unicode,
hex_digit,
typedef,
string_type,
bool,
truthy,
falsey,
block_comment,
COMMENT,
WHITESPACE,
}
Variants§
EOI
taskfile
task
parameters
parameter
required
help
ptype
script
script_inline
script_file
identifier
opening_brace
closing_brace
equals
quote
triple_quote
string
single_quoted
inner_single_str
triple_quoted
inner_triple_str
escape
code
unicode
hex_digit
typedef
string_type
bool
truthy
falsey
block_comment
COMMENT
WHITESPACE
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