[][src]Struct gf::pivot::basic_block::UnsealedBasicBlock

pub struct UnsealedBasicBlock {
    pub metadata: UnsealedMetadata,
    pub inputs: Vec<Var>,
    pub branch_var: Option<Var>,
    pub branch_outputs: [Vec<Var>; 2],
    pub branch_targets: [Option<BasicBlockId>; 2],
    pub stmts: Vec<UnsealedStmt>,
}

⚪ Basic block in an unsealed module.

Fields

metadata: UnsealedMetadata

Metadata.

inputs: Vec<Var>

Input group.

branch_var: Option<Var>

Branch control variable.

branch_outputs: [Vec<Var>; 2]

Branch output groups: 0 for false branch, 1 for true branch.

branch_targets: [Option<BasicBlockId>; 2]

Branch target basic block IDs: 0 for false branch, 1 for true branch.

stmts: Vec<UnsealedStmt>

Statements.

Trait Implementations

impl Clone for UnsealedBasicBlock[src]

impl Debug for UnsealedBasicBlock[src]

Auto Trait Implementations

impl RefUnwindSafe for UnsealedBasicBlock

impl Send for UnsealedBasicBlock

impl Sync for UnsealedBasicBlock

impl Unpin for UnsealedBasicBlock

impl UnwindSafe for UnsealedBasicBlock

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.