Struct moore_vhdl::codegen::InstBuilder [] [src]

pub struct InstBuilder<'ctx> {
    pub body: &'ctx mut SeqBody,
    pub block: BlockRef,
}

An helper to build sequences of instructions.

Fields

Methods

impl<'ctx> InstBuilder<'ctx>
[src]

[src]

Create a new instruction builder.

[src]

Add a new instruction.

[src]

Add a new block.

[src]

Change the block at the end of which instructions will be added.