pub struct GlslStd450InstructionTable;Expand description
The table for all GLSLstd450 extended instructions.
This table is staic data stored in the library.
Implementations§
Source§impl GlslStd450InstructionTable
impl GlslStd450InstructionTable
Sourcepub fn lookup_opcode(
opcode: u32,
) -> Option<&'static ExtendedInstruction<'static>>
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.
Sourcepub fn get(opcode: GLOp) -> &'static ExtendedInstruction<'static>
pub fn get(opcode: GLOp) -> &'static ExtendedInstruction<'static>
Returns a reference to the instruction grammar entry with the given
opcode.
pub fn iter() -> impl Iterator<Item = &'static ExtendedInstruction<'static>>
Auto Trait Implementations§
impl Freeze for GlslStd450InstructionTable
impl RefUnwindSafe for GlslStd450InstructionTable
impl Send for GlslStd450InstructionTable
impl Sync for GlslStd450InstructionTable
impl Unpin for GlslStd450InstructionTable
impl UnsafeUnpin for GlslStd450InstructionTable
impl UnwindSafe for GlslStd450InstructionTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more