Trait llhd::unit::UnitContext [] [src]

pub trait UnitContext: Context + AsUnitContext {
    fn inst(&self, inst: InstRef) -> &Inst;
fn argument(&self, argument: ArgumentRef) -> &Argument; }

A context wrapping a unit.

Required Methods

Resolve a InstRef to an actual &Inst reference.

Resolve a ArgumentRef to an actual &Argument reference.

Implementors