leo_ast::passes::consumer

Trait StructConsumer

Source
pub trait StructConsumer {
    type Output;

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

A Consumer trait for structs in the AST.

Required Associated Types§

Required Methods§

Source

fn consume_struct(&mut self, input: Composite) -> Self::Output

Implementors§