Skip to main content

Plugin

Trait Plugin 

Source
pub trait Plugin {
    // Required methods
    fn info(&self) -> &PluginInfo;
    fn can_handle_project(&self, project_path: &str) -> bool;
    fn get_builder(&self) -> Box<dyn WasmBuilder>;
}

Required Methods§

Source

fn info(&self) -> &PluginInfo

Source

fn can_handle_project(&self, project_path: &str) -> bool

Source

fn get_builder(&self) -> Box<dyn WasmBuilder>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§