Trait ModuleConsumer

Source
pub trait ModuleConsumer {
    type Output;

    // Required method
    fn consume_module(&mut self, input: Module) -> Self::Output;
}
Expand description

A Consumer trait for modules in the AST.

Required Associated Types§

Required Methods§

Source

fn consume_module(&mut self, input: Module) -> Self::Output

Implementors§