diff options
author | 2019-11-24 11:34:30 +0100 | |
---|---|---|
committer | 2019-11-24 11:34:30 +0100 | |
commit | 149fd2aa1fa86858c7c1dcec8fd844caa78cec94 (patch) | |
tree | a199cf8d2caaf6aa60e48e93d6dd0688969d43b0 /winit/src/lib.rs | |
parent | 9712b319bb7a32848001b96bd84977430f14b623 (diff) | |
parent | 47196c9007d12d3b3e0036ffabe3bf6d14ff4523 (diff) | |
download | iced-149fd2aa1fa86858c7c1dcec8fd844caa78cec94.tar.gz iced-149fd2aa1fa86858c7c1dcec8fd844caa78cec94.tar.bz2 iced-149fd2aa1fa86858c7c1dcec8fd844caa78cec94.zip |
Merge pull request #65 from hecrj/improvement/docs
Documentation
Diffstat (limited to 'winit/src/lib.rs')
-rw-r--r-- | winit/src/lib.rs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/winit/src/lib.rs b/winit/src/lib.rs index d9482fe4..0a2bf7dd 100644 --- a/winit/src/lib.rs +++ b/winit/src/lib.rs @@ -1,3 +1,27 @@ +//! 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 +#![deny(missing_docs)] +#![deny(missing_debug_implementations)] +#![deny(unused_results)] +#![deny(unsafe_code)] +#![deny(rust_2018_idioms)] + +#[doc(no_inline)] pub use iced_native::*; pub use winit; |