Struct rspirv::dr::Block [−][src]
pub struct Block {
pub label: Option<Instruction>,
pub instructions: Vec<Instruction>,
}
Expand description
Data representation of a SPIR-V block.
Fields
label: Option<Instruction>
The label starting this block.
instructions: Vec<Instruction>
Instructions in this block.
Implementations
Trait Implementations
Assembles the current object into the result
vector, reducing the need for lots of allocations
Disassembles the current object and returns the assembly code.
Auto Trait Implementations
impl RefUnwindSafe for Block
impl UnwindSafe for Block
Blanket Implementations
Mutably borrows from an owned value. Read more