1 2 3 4 5 6 7
pub mod window_plugin; use super::{events::MatrixEventable, scene::Scene}; pub trait Plugin<CustomEvents: MatrixEventable> { fn build(&self, scene: &mut Scene<CustomEvents>); }