Struct rspirv::grammar::CoreInstructionTable
[−]
[src]
pub struct CoreInstructionTable;
The table for all SPIR-V core instructions.
This table is staic data stored in the library.
Methods
impl CoreInstructionTable
[src]
fn lookup_opcode(opcode: u16) -> Option<&'static Instruction<'static>>
[src]
Looks up the given opcode
in the instruction table and returns
a reference to the instruction grammar entry if found.
fn get(opcode: Op) -> &'static Instruction<'static>
[src]
Returns a reference to the instruction grammar entry with the given
opcode
.