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§
fn info(&self) -> &PluginInfo
fn can_handle_project(&self, project_path: &str) -> bool
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".