Trait bones_lib::SessionPlugin

source ·
pub trait SessionPlugin {
    // Required method
    fn install(self, session: &mut Session);
}
Expand description

Trait for plugins that can be installed into a Session.

Required Methods§

source

fn install(self, session: &mut Session)

Install the plugin into the Session.

Implementors§

source§

impl<F: FnOnce(&mut Session)> SessionPlugin for F