Trait freya_testing::FreyaPlugin
source · pub trait FreyaPlugin {
// Required method
fn on_event(&mut self, event: &PluginEvent<'_>);
}
Expand description
Skeleton for Freya plugins.
Required Methods§
sourcefn on_event(&mut self, event: &PluginEvent<'_>)
fn on_event(&mut self, event: &PluginEvent<'_>)
React on events emitted by Freya.