Skip to main content

OneRegionInterface

Trait OneRegionInterface 

Source
pub trait OneRegionInterface: Op {
    // Provided method
    fn get_region(&self, ctx: &Context) -> Ptr<Region> { ... }
}
Expand description

Ops that have exactly one region.

Provided Methods§

Source

fn get_region(&self, ctx: &Context) -> Ptr<Region>

Get the single region that this Op has.

Trait Implementations§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§