pub trait EasyToken:
EasyPeek
+ Parse
+ Spanned {
// Required method
fn display() -> &'static str;
}
Expand description
Peekable and parsable single token.
easy_token!
macro produces types that implement this trait.
Required Methods§
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.