pub trait ParExplode: Parallel {
// Required methods
fn after_one_stmt(&mut self, stmts: &mut Vec<Stmt>);
fn after_one_module_item(&mut self, stmts: &mut Vec<ModuleItem>);
}
Required Methods§
Sourcefn after_one_stmt(&mut self, stmts: &mut Vec<Stmt>)
fn after_one_stmt(&mut self, stmts: &mut Vec<Stmt>)
Invoked after visiting each statements.
Implementor should not delete/prepend to stmts
.
Sourcefn after_one_module_item(&mut self, stmts: &mut Vec<ModuleItem>)
fn after_one_module_item(&mut self, stmts: &mut Vec<ModuleItem>)
Invoked after visiting each statements.
Implementor should not delete/prepend to stmts
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.