pub trait RefactorPlugin: Send + Sync {
// Required methods
fn id(&self) -> &str;
fn preview(
&self,
catalog: &OntologyCatalog,
workspace: &Path,
focus_iri: Option<&str>,
) -> RefactorProviderResult;
}Required Methods§
fn id(&self) -> &str
fn preview( &self, catalog: &OntologyCatalog, workspace: &Path, focus_iri: Option<&str>, ) -> RefactorProviderResult
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".