pub trait LexerRule:
Copy
+ Debug
+ Into<usize> {
const COUNT: usize;
const END: Self;
}Expand description
A trait representing a lexer rule used for token matching. Each rule can be converted into an index and defines a total count of rules along with a designated end rule.
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.