pub trait Plugin:
Debug
+ Send
+ Sync {
// Provided methods
fn name(&self) -> &'static str { ... }
fn apply(&self, _ctx: &mut ApplyContext<'_>) -> Result<()> { ... }
fn clear_cache(&self, _id: CompilationId) { ... }
}pub trait Plugin:
Debug
+ Send
+ Sync {
// Provided methods
fn name(&self) -> &'static str { ... }
fn apply(&self, _ctx: &mut ApplyContext<'_>) -> Result<()> { ... }
fn clear_cache(&self, _id: CompilationId) { ... }
}