mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
This requires a similar restructuring as with WindowId. Signed-off-by: John Nunley <dev@notgull.net>
18 lines
640 B
Rust
18 lines
640 B
Rust
//! Base types for a windowing library.
|
|
//!
|
|
//! This crate contains types, traits and basic functions from [`winit`] that are platform
|
|
//! independent. It is intended to allow for other crates to build abstractions around [`winit`]
|
|
//! without needing to pull in all of [`winit`]'s dependencies, as well as to provide an
|
|
//! interface for alternative backends for [`winit`] to be constructed.
|
|
//!
|
|
//! [`winit`]: https://docs.rs/winit
|
|
|
|
#[cfg(any(not(feature = "std"), not(feature = "alloc")))]
|
|
compile_error! { "no-std and no-alloc usage are not yet supported" }
|
|
|
|
pub mod dpi;
|
|
pub mod error;
|
|
pub mod event;
|
|
pub mod keyboard;
|
|
pub mod window;
|