pub trait DisplayServer {
    fn new(config: &impl Config) -> Self;
    fn get_next_events(&mut self) -> Vec<DisplayEvent>;
    fn wait_readable(&self) -> Pin<Box<dyn Future<Output = ()>>>;
    fn flush(&self);
    fn generate_verify_focus_event(&self) -> Option<DisplayEvent>;

    fn load_config(
        &mut self,
        _config: &impl Config,
        _focused: Option<&Option<WindowHandle>>,
        _windows: &[Window]
    ) { ... } fn update_windows(&self, _windows: Vec<&Window>) { ... } fn update_workspaces(&self, _focused: Option<&Workspace>) { ... } fn execute_action(&mut self, _act: DisplayAction) -> Option<DisplayEvent> { ... } }

Required Methods§

Provided Methods§

Implementors§