1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
mod command;
mod command_code;
mod generic_error;
mod key;
mod mouse_button;
mod utils;
pub use command::*;
pub use command_code::*;
pub use generic_error::*;
pub use key::*;
pub use mouse_button::*;
pub mod traits;
pub use traits::*;
#[cfg(target_os = "linux")]
mod linux_common;
#[cfg(all(target_os = "linux", not(x11)))]
mod linux_wayland;
#[cfg(all(target_os = "linux", not(x11)))]
pub use linux_wayland::Context;
#[cfg(all(target_os = "linux", x11))]
mod linux_x11;
#[cfg(all(target_os = "linux", x11))]
pub use linux_x11::Context;
#[cfg(target_os = "macos")]
mod macos;
#[cfg(target_os = "macos")]
pub use macos::Context;
#[cfg(target_os = "windows")]
mod windows;
#[cfg(target_os = "windows")]
pub use windows::Context;
pub type Error = GenericError<<Context as FallibleContext>::PlatformError>;