pub trait LexerMode:
Copy
+ Debug
+ Into<usize> {
const COUNT: usize;
}Expand description
A trait representing a lexer mode used during lexical analysis. Each mode can be converted into an index and defines a total count of modes.
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.