Skip to main content

RefactorPlugin

Trait RefactorPlugin 

Source
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§

Source

fn id(&self) -> &str

Source

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".

Implementors§