Trait nero::plugin::Plugin [] [src]

pub trait Plugin: 'static {
    fn name(&mut self) -> String;
    fn description(&mut self) -> String;
    fn register_hooks(&mut self) -> Option<Vec<IrcEvent>>;
    fn register_bots(&mut self) -> Option<Vec<Bot>>;

    unsafe fn get_type_id(&self) -> TypeId { ... }
}

Required Methods

Provided Methods

Methods

impl Plugin
[src]

Implementors