pub trait ParserStateID:
Copy
+ Debug
+ Eq
+ Into<usize> {
const COUNT: usize;
}Expand description
A trait representing an identifier for a parser state.
Each parser state corresponds to a position in the parsing automaton. The type implementing this trait is typically generated by parlex-gen’s parser generator ASLR.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.