Struct rspirv::grammar::GlslStd450InstructionTable [−][src]
pub struct GlslStd450InstructionTable;
The table for all GLSLstd450
extended instructions.
This table is staic data stored in the library.
Methods
impl GlslStd450InstructionTable
[src]
impl GlslStd450InstructionTable
pub fn lookup_opcode(
opcode: u32
) -> Option<&'static ExtendedInstruction<'static>>
[src]
pub fn lookup_opcode(
opcode: u32
) -> Option<&'static ExtendedInstruction<'static>>
Looks up the given opcode
in the instruction table and returns
a reference to the instruction grammar entry if found.
pub fn get(opcode: GLOp) -> &'static ExtendedInstruction<'static>
[src]
pub fn get(opcode: GLOp) -> &'static ExtendedInstruction<'static>
Returns a reference to the instruction grammar entry with the given
opcode
.
Auto Trait Implementations
impl Send for GlslStd450InstructionTable
impl Send for GlslStd450InstructionTable
impl Sync for GlslStd450InstructionTable
impl Sync for GlslStd450InstructionTable