mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
* Update the documentation to reflect web support Indicate which methods have platform-specific web behavior * cargo fmt
26 lines
529 B
Rust
26 lines
529 B
Rust
//! 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:
|
|
//!
|
|
//! - `desktop` (available on `windows`, `unix`, and `macos`)
|
|
//!
|
|
//! However only the module corresponding to the platform you're compiling to will be available.
|
|
|
|
pub mod android;
|
|
pub mod ios;
|
|
pub mod macos;
|
|
pub mod unix;
|
|
pub mod windows;
|
|
|
|
pub mod desktop;
|
|
pub mod web;
|