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]

pub fn lookup_opcode(
    opcode: u32
) -> Option<&'static ExtendedInstruction<'static>>
[src]

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.