Plugin

Trait Plugin 

Source
pub trait Plugin {
    // Required methods
    fn name(&self) -> &str;
    fn init(&self);
}

Required Methods§

Source

fn name(&self) -> &str

Returns the name of the plugin.

Source

fn init(&self)

Called when the plugin is initialized.

Implementors§