Skip to main content

lgui_core/application/
backend.rs

1use super::{AppView, ApplicationContext, WindowOptions};
2
3pub trait ApplicationBackend: Sized {
4    type Error;
5
6    fn run(
7        self,
8        options: WindowOptions,
9        view: AppView,
10        context: ApplicationContext,
11    ) -> Result<(), Self::Error>;
12}