pub struct SeqBody { /* fields omitted */ }
A sequential body of blocks and instructions. Represents a control flow
graph as describe by a process or function, i.e. a sequential arrangement of
instructions. This in contrast to the dataflow body of an entity.
Create a new sequential body.
Move a block around within the body.
Remove a block from the body.
Add an instruction to the body.
Move an instruction around within the body.
Remove an instruction from the body.
Obtain an iterator over the blocks in this body.
Get a reference to a block in the body. Panics if the block does not
exist.
Get a mutable reference to a block in the body. Panics if the block does
not exist.
Get a reference to an instruction in the body. Panics if the instruction
does not exist.
Get a mutable reference to an instruction in the body. Panics if the
instruction does not exist.
type Error = !
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more