e2rcore/interface/
i_renderer.rs

1pub trait IRenderer {
2
3    type EventRender;
4
5    fn init() -> Result< Self, & 'static str > where Self: Sized;
6
7    fn process_render_events( & mut self, Vec< Self::EventRender > ) -> Result< (), & 'static str >;
8}
9