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

The label starting this basic block.

Instructions in this basic block.

Methods

impl BasicBlock
[src]

Creates a new empty BasicBlock instance.

Trait Implementations

impl Assemble for BasicBlock
[src]

Assembles the current object and returns the binary code.

impl Disassemble for BasicBlock
[src]

Disassembles the current object and returns the assembly code.

impl Debug for BasicBlock
[src]

Formats the value using the given formatter. Read more

impl Default for BasicBlock
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for BasicBlock

impl Sync for BasicBlock