pub enum Rule {
Show 38 variants
EOI,
comment_block,
comment_singleline,
WHITESPACE,
COMMENT,
alpha,
digit,
hexadecimal,
alphanumeric,
ident,
integer,
hex_integer,
float,
number,
string,
string_inner,
char_literal,
char_double_quote,
char,
unicode,
escape_sequence,
boolean,
enum_variant,
struct,
map_jsonlike,
tuple_struct,
tuple,
bitflags_struct,
fields,
fields_jsonlike,
field,
field_jsonlike,
tuple_elements,
bitflags_elements,
array,
assignment,
value,
main,
}Variants§
EOI
End-of-input
comment_block
comment_singleline
WHITESPACE
COMMENT
alpha
digit
hexadecimal
alphanumeric
ident
integer
hex_integer
float
number
string
string_inner
char_literal
char_double_quote
char
unicode
escape_sequence
boolean
enum_variant
struct
map_jsonlike
tuple_struct
tuple
bitflags_struct
fields
fields_jsonlike
field
field_jsonlike
tuple_elements
bitflags_elements
array
assignment
value
main
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