Struct rspirv::grammar::ExtendedInstruction
source · 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§
impl<'a> RefUnwindSafe for ExtendedInstruction<'a>
impl<'a> Send for ExtendedInstruction<'a>
impl<'a> Sync for ExtendedInstruction<'a>
impl<'a> Unpin for ExtendedInstruction<'a>
impl<'a> UnwindSafe for ExtendedInstruction<'a>
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