Trait libpatron::ir::GetNode

source ·
pub trait GetNode<D: ?Sized, I: Clone + Copy> {
    // Required method
    fn get(&self, reference: I) -> &D;
}
Expand description

Lookup an IR node from the context

Required Methods§

source

fn get(&self, reference: I) -> &D

Lookup the value by the reference obtained from a call to add

Implementors§