Skip to main content

AST

Trait AST 

Source
pub trait AST: FromStr<Err = Error> {
    // Required method
    fn parse(input: &str) -> ParseResult<'_, Self>;
}
Expand description

AST portion

Required Methods§

Source

fn parse(input: &str) -> ParseResult<'_, Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§