[−][src]Macro weechat::weechat_plugin
weechat_plugin!() { /* proc-macro */ }
Register a struct that implements the WeechatPlugin
trait as a plugin.
This configures the Weechat init and end method as well as additonal plugin metadata.
Example
ⓘThis example is not tested
weechat_plugin!( SamplePlugin, name: "rust_sample", author: "poljar", description: "", version: "0.1.0", license: "MIT" );