[][src]Trait gluon_vm::core::optimize::ExprProducer

pub trait ExprProducer<'a, 'b>: Visitor<'a, 'b> {
    fn new(allocator: &'a Allocator<'a>) -> Self;
fn produce(&mut self, expr: CExpr<'b>) -> CExpr<'a>; }

Required methods

fn new(allocator: &'a Allocator<'a>) -> Self

fn produce(&mut self, expr: CExpr<'b>) -> CExpr<'a>

Loading content...

Implementors

impl<'a> ExprProducer<'a, 'a> for SameLifetime<'a>[src]

impl<'a, 'b> ExprProducer<'a, 'b> for DifferentLifetime<'a, 'b>[src]

Loading content...