Trait hexchat_plugin::Plugin
source · 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
Provided Methods
sourcefn deinit(&self, _ph: &mut PluginHandle)
fn deinit(&self, _ph: &mut PluginHandle)
Called to deinitialize the plugin.
This is always called immediately prior to Drop::drop.