iced-yoda/winit/src/lib.rs

43 lines
1.2 KiB
Rust
Raw Normal View History

2019-11-22 22:14:39 +01:00
//! A windowing shell for Iced, on top of [`winit`].
//!
//! ![`iced_winit` crate graph](https://github.com/hecrj/iced/blob/cae26cb7bc627f4a5b3bcf1cd023a0c552e8c65e/docs/graphs/winit.png?raw=true)
//!
//! `iced_winit` offers some convenient abstractions on top of [`iced_native`]
//! to quickstart development when using [`winit`].
//!
//! It exposes a renderer-agnostic [`Application`] trait that can be implemented
//! and then run with a simple call. The use of this trait is optional.
//!
//! Additionally, a [`conversion`] module is available for users that decide to
//! implement a custom event loop.
//!
//! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native
//! [`winit`]: https://github.com/rust-windowing/winit
//! [`Application`]: trait.Application.html
//! [`conversion`]: conversion
#![deny(missing_docs)]
2019-11-22 22:14:39 +01:00
#![deny(missing_debug_implementations)]
#![deny(unused_results)]
#![forbid(unsafe_code)]
#![forbid(rust_2018_idioms)]
2019-11-22 22:14:39 +01:00
#[doc(no_inline)]
2019-10-03 00:01:45 +02:00
pub use iced_native::*;
2019-10-03 00:08:16 +02:00
pub use winit;
2020-05-21 04:27:31 +02:00
pub mod application;
pub mod conversion;
pub mod settings;
mod clipboard;
mod mode;
mod proxy;
pub use application::Application;
2020-02-01 22:05:25 -05:00
pub use clipboard::Clipboard;
pub use mode::Mode;
2020-05-21 00:37:47 +02:00
pub use proxy::Proxy;
pub use settings::Settings;
2020-05-21 04:27:31 +02:00
pub use iced_graphics::Viewport;