pub trait SingleBlockRegionInterface: Op {
// Provided methods
fn get_body(&self, ctx: &Context, region_idx: usize) -> Ptr<BasicBlock> { ... }
fn append_operation(
&self,
ctx: &mut Context,
op: Ptr<Operation>,
region_idx: usize,
) { ... }
}Expand description
Ops with regions that have a single block.
Provided Methods§
Trait Implementations§
impl OpInterfaceMarker for dyn SingleBlockRegionInterface
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".