Trait hexchat_plugin::Plugin [−][src]
pub trait Plugin { fn init(&self, ph: &mut PluginHandle, arg: Option<&str>) -> bool; fn deinit(&self, _ph: &mut PluginHandle) { ... } }
Expand description
A hexchat plugin.
Required methods
fn init(&self, ph: &mut PluginHandle, arg: Option<&str>) -> bool
[src]
Expand description
Called to initialize the plugin.
Provided methods
fn deinit(&self, _ph: &mut PluginHandle)
[src]
Expand description
Called to deinitialize the plugin.
This is always called immediately prior to Drop::drop.