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