Struct rspirv::grammar::OpenCLStd100InstructionTable [−][src]
pub struct OpenCLStd100InstructionTable;
The table for all OpenCLstd100
extended instructions.
This table is staic data stored in the library.
Methods
impl OpenCLStd100InstructionTable
[src]
impl OpenCLStd100InstructionTable
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: CLOp) -> &'static ExtendedInstruction<'static>
[src]
pub fn get(opcode: CLOp) -> &'static ExtendedInstruction<'static>
Returns a reference to the instruction grammar entry with the given
opcode
.
Auto Trait Implementations
impl Send for OpenCLStd100InstructionTable
impl Send for OpenCLStd100InstructionTable
impl Sync for OpenCLStd100InstructionTable
impl Sync for OpenCLStd100InstructionTable