pub trait ParserInput {
type Item;
// Required methods
fn peek(&mut self) -> &Self::Item;
fn next(&mut self) -> Self::Item;
fn marker() -> Self::Item;
}
Expand description
An stream of tokens that can be used as parser input.
Required Associated Types§
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.