Skip to main content

OneSuccInterface

Trait OneSuccInterface 

Source
pub trait OneSuccInterface: Op + BranchOpInterface {
    // Provided method
    fn get_successor(&self, ctx: &Context) -> Ptr<BasicBlock> { ... }
}
Expand description

An Op having exactly one successor.

Provided Methods§

Source

fn get_successor(&self, ctx: &Context) -> Ptr<BasicBlock>

Get the single successor block of this Op.

Trait Implementations§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§