2019-11-22 22:14:39 +01:00
|
|
|
//! A windowing shell for Iced, on top of [`winit`].
|
|
|
|
|
//!
|
|
|
|
|
//! 
|
|
|
|
|
//!
|
|
|
|
|
//! `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
|
2020-05-28 02:49:32 +02:00
|
|
|
#![deny(missing_docs)]
|
2019-11-22 22:14:39 +01:00
|
|
|
#![deny(missing_debug_implementations)]
|
|
|
|
|
#![deny(unused_results)]
|
2020-01-20 10:52:06 +01:00
|
|
|
#![forbid(unsafe_code)]
|
|
|
|
|
#![forbid(rust_2018_idioms)]
|
2019-11-22 22:14:39 +01:00
|
|
|
|
2019-11-21 13:47:20 +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;
|
2019-10-09 05:36:49 +02:00
|
|
|
|
2020-05-21 04:27:31 +02:00
|
|
|
pub mod application;
|
2019-10-10 05:44:33 +02:00
|
|
|
pub mod conversion;
|
2019-11-25 14:17:13 +01:00
|
|
|
pub mod settings;
|
2019-10-10 05:44:33 +02:00
|
|
|
|
2019-12-18 07:45:49 +01:00
|
|
|
mod clipboard;
|
2020-01-16 05:54:22 +01:00
|
|
|
mod mode;
|
2020-01-19 10:17:08 +01:00
|
|
|
mod proxy;
|
2019-10-09 05:36:49 +02:00
|
|
|
|
2019-12-18 07:45:49 +01:00
|
|
|
pub use application::Application;
|
2020-02-01 22:05:25 -05:00
|
|
|
pub use clipboard::Clipboard;
|
2020-01-16 05:54:22 +01:00
|
|
|
pub use mode::Mode;
|
2020-05-21 00:37:47 +02:00
|
|
|
pub use proxy::Proxy;
|
2019-12-18 07:45:49 +01:00
|
|
|
pub use settings::Settings;
|
2020-05-21 04:27:31 +02:00
|
|
|
|
|
|
|
|
pub use iced_graphics::Viewport;
|