Trait CheckParses

Source
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§

Source

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.

Implementors§