pub trait CheckParses {
// Required method
fn check_parses<'t, I: Iterator<Item = &'t Token> + Clone>(
input: &InputStream<'t, I>,
) -> Option<bool>;
}
Expand description
Check if Self
would parse given the tokens.
Required Methods§
Sourcefn check_parses<'t, I: Iterator<Item = &'t Token> + Clone>(
input: &InputStream<'t, I>,
) -> Option<bool>
fn check_parses<'t, I: Iterator<Item = &'t Token> + Clone>( input: &InputStream<'t, I>, ) -> Option<bool>
Check if Self
would parse given the tokens.
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.