pub trait ProgramConsumer {
type Output;
// Required method
fn consume_program(&mut self, input: Program) -> Self::Output;
}Expand description
A Consumer trait for the program represented by the AST.
Required Associated Types§
Required Methods§
fn consume_program(&mut self, input: Program) -> Self::Output
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".