pub enum Rule {
Show 55 variants
EOI,
main,
value,
unit,
bool,
i8,
postfix_i8,
i16,
postfix_i16,
i32,
postfix_i32,
i64,
postfix_i64,
i128,
postfix_i128,
u8,
postfix_u8,
u16,
postfix_u16,
u32,
postfix_u32,
u64,
postfix_u64,
u128,
postfix_u128,
f32,
postfix_f32,
f64,
postfix_f64,
char,
char_inner,
string,
string_inner,
bytes,
bytes_inner,
bytes_prefix,
byte,
some,
none,
unit_struct,
newtype_struct,
seq,
tuple,
tuple_struct,
map,
map_entry,
structure,
structure_field,
variant,
unsigned_integer,
signed_integer,
real,
negation,
identifier,
WHITESPACE,
}
Variants§
EOI
End-of-input
main
value
unit
bool
i8
postfix_i8
i16
postfix_i16
i32
postfix_i32
i64
postfix_i64
i128
postfix_i128
u8
postfix_u8
u16
postfix_u16
u32
postfix_u32
u64
postfix_u64
u128
postfix_u128
f32
postfix_f32
f64
postfix_f64
char
char_inner
string
string_inner
bytes
bytes_inner
bytes_prefix
byte
some
none
unit_struct
newtype_struct
seq
tuple
tuple_struct
map
map_entry
structure
structure_field
variant
unsigned_integer
signed_integer
real
negation
identifier
WHITESPACE
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§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.