Struct rspirv::grammar::ExtendedInstruction[][src]

pub struct ExtendedInstruction<'a> {
    pub opname: &'a str,
    pub opcode: Word,
    pub capabilities: &'a [Capability],
    pub extensions: &'a [&'a str],
    pub operands: &'a [LogicalOperand],
}
Expand description

Grammar for an extended instruction.

Fields

opname: &'a str

OpName.

opcode: Word

Opcode.

capabilities: &'a [Capability]

Capabilities required for this instruction.

extensions: &'a [&'a str]

Extensions required for this instruction.

operands: &'a [LogicalOperand]

Logical operands for this instruction.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.