//! Contains traits with platform-specific methods in them. //! //! Contains the follow OS-specific modules: //! //! - `android` //! - `ios` //! - `macos` //! - `unix` //! - `windows` //! - `web` //! //! And the following platform-specific module: //! //! - `run_return` (available on `windows`, `unix`, `macos`, and `android`) //! //! However only the module corresponding to the platform you're compiling to will be available. #[cfg(target_os = "android")] pub mod android; #[cfg(target_os = "ios")] pub mod ios; #[cfg(target_os = "macos")] pub mod macos; #[cfg(all( feature = "wayland", any( target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd", ) ))] pub mod wayland; #[cfg(target_arch = "wasm32")] pub mod web; #[cfg(target_os = "windows")] pub mod windows; #[cfg(all( feature = "x11", any( target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd", ) ))] pub mod x11; #[cfg(any( target_os = "windows", target_os = "macos", target_os = "android", target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd" ))] pub mod run_return;