pub mod input;
use input::InputEvent;
#[derive(Debug, Clone)]
#[cfg_attr(feature = "bincode", derive(bincode::Encode, bincode::Decode))]
pub enum ClientEvent {
Window { id: u32, event: WindowEvent },
}
#[derive(Debug, Clone)]
#[cfg_attr(feature = "bincode", derive(bincode::Encode, bincode::Decode))]
pub enum WindowEvent {
Added { width: u32, height: u32 },
Resized { width: u32, height: u32 },
Input(InputEvent),
InputBlockingEnded,
Destroyed,
}