Struct rspirv::mr::BasicBlock
[−]
[src]
pub struct BasicBlock { pub label: Option<Instruction>, pub instructions: Vec<Instruction>, }
Data representation of a SPIR-V basic block.
Fields
label: Option<Instruction>
The label starting this basic block.
instructions: Vec<Instruction>
Instructions in this basic block.
Methods
impl BasicBlock
[src]
fn new() -> BasicBlock
[src]
Creates a new empty BasicBlock
instance.
Trait Implementations
impl Assemble for BasicBlock
[src]
impl Disassemble for BasicBlock
[src]
fn disassemble(&self) -> String
[src]
Disassembles the current object and returns the assembly code.
impl Debug for BasicBlock
[src]
impl Default for BasicBlock
[src]
fn default() -> BasicBlock
[src]
Returns the "default value" for a type. Read more