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§

Apply the plugin

Provided Methods§

The id of the plugin. A plugin of a certain ID can only added once

Implementors§