pub trait Token:
Parse
+ Debug
+ Sealed {
// Required method
fn span(&self) -> &Span;
}
Expand description
A trait for types that can be represented by a single token.
This trait is sealed, and cannot be implemented by types outside of this crate.
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.