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§
Sourcefn get_successor(&self, ctx: &Context) -> Ptr<BasicBlock>
fn get_successor(&self, ctx: &Context) -> Ptr<BasicBlock>
Get the single successor block of this Op.
Trait Implementations§
impl OpInterfaceMarker for dyn OneSuccInterface
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".