iced-yoda/winit/src/lib.rs

50 lines
1.4 KiB
Rust
Raw Normal View History

2019-11-22 22:14:39 +01:00
//! A windowing shell for Iced, on top of [`winit`].
//!
2020-11-26 07:22:03 +01:00
//! ![The native path of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/native.png?raw=true)
2019-11-22 22:14:39 +01:00
//!
//! `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/0.4/native
2019-11-22 22:14:39 +01:00
//! [`winit`]: https://github.com/rust-windowing/winit
//! [`conversion`]: crate::conversion
2021-12-08 08:04:46 +01:00
#![doc(
2021-12-09 15:10:38 +07:00
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
2021-12-08 08:04:46 +01:00
)]
#![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 clipboard;
pub mod conversion;
pub mod settings;
pub mod window;
mod error;
mod mode;
2021-07-21 18:59:24 +07:00
mod position;
mod proxy;
pub use application::Application;
2020-02-01 22:05:25 -05:00
pub use clipboard::Clipboard;
pub use error::Error;
pub use mode::Mode;
2021-07-21 18:59:24 +07:00
pub use position::Position;
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;