pub trait PassExecutor {
// Required methods
fn execute(&self, ctx: &PassContext);
fn name(&self) -> &str;
}Expand description
Trait for pass execution callbacks. Each built-in pass implements this.
Required Methods§
Sourcefn execute(&self, ctx: &PassContext)
fn execute(&self, ctx: &PassContext)
Execute the pass, given its context.