[][src]Trait llhd::table::TableKey

pub trait TableKey: Copy {
    fn new(index: usize) -> Self;
fn index(self) -> usize; }

An opaque key to uniquely identify a table entry.

Required methods

fn new(index: usize) -> Self

Create a new table key from an index.

fn index(self) -> usize

Return the index wrapped within this table key.

Loading content...

Implementors

impl TableKey for Arg[src]

impl TableKey for Block[src]

impl TableKey for ExtUnit[src]

impl TableKey for Inst[src]

impl TableKey for ModUnit[src]

impl TableKey for Value[src]

Loading content...