pub enum Rule {
Show 60 variants
EOI,
WHITESPACE,
COMMENT,
block_comment,
line_comment,
alpha,
digit,
hexdigit,
alphanum,
identifier,
payload_identifier,
body_identifier,
intvalue,
hexvalue,
integer,
string,
size_modifier,
ENUM,
PACKET,
STRUCT,
GROUP,
CHECKSUM,
CUSTOM_FIELD,
TEST,
endianness_declaration,
enum_value,
enum_value_list,
enum_range,
enum_other,
enum_tag,
enum_tag_list,
enum_declaration,
constraint,
constraint_list,
checksum_field,
padding_field,
size_field,
count_field,
elementsize_field,
body_field,
payload_field,
fixed_field,
reserved_field,
array_field,
scalar_field,
typedef_field,
group_field,
field_desc,
field,
field_list,
packet_declaration,
struct_declaration,
group_declaration,
checksum_declaration,
custom_field_declaration,
test_case,
test_case_list,
test_declaration,
declaration,
file,
}
Variants§
EOI
End-of-input
WHITESPACE
COMMENT
block_comment
line_comment
alpha
digit
hexdigit
alphanum
identifier
payload_identifier
body_identifier
intvalue
hexvalue
integer
string
size_modifier
ENUM
PACKET
STRUCT
GROUP
CHECKSUM
CUSTOM_FIELD
TEST
endianness_declaration
enum_value
enum_value_list
enum_range
enum_other
enum_tag
enum_tag_list
enum_declaration
constraint
constraint_list
checksum_field
padding_field
size_field
count_field
elementsize_field
body_field
payload_field
fixed_field
reserved_field
array_field
scalar_field
typedef_field
group_field
field_desc
field
field_list
packet_declaration
struct_declaration
group_declaration
checksum_declaration
custom_field_declaration
test_case
test_case_list
test_declaration
declaration
file
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