Trait assemble_core::plugins::Plugin
source · pub trait Plugin<T: ?Sized>: Default {
fn apply_to(&self, target: &mut T) -> ProjectResult;
fn plugin_id(&self) -> &str { ... }
}
Expand description
A plugin to apply to the project. All plugins must implement default.
Required Methods§
sourcefn apply_to(&self, target: &mut T) -> ProjectResult
fn apply_to(&self, target: &mut T) -> ProjectResult
Apply the plugin