1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
//! //! Default windows for easy setup and event handling. //! Currently [glutin](https://crates.io/crates/glutin/main.rs) for cross-platform desktop //! and canvas using [wasm-bindgen](https://rustwasm.github.io/wasm-bindgen/) for web, but //! can be replaced by any other window with similar functionality. //! #[doc(hidden)] #[cfg(all(feature = "glutin-window", not(target_arch = "wasm32")))] pub mod glutin_window; #[doc(inline)] #[cfg(all(feature = "glutin-window", not(target_arch = "wasm32")))] pub use crate::glutin_window::*; #[doc(hidden)] #[cfg(all(feature = "canvas", target_arch = "wasm32"))] pub mod canvas; #[doc(inline)] #[cfg(all(feature = "canvas", target_arch = "wasm32"))] pub use crate::canvas::*;