diff options
author | 2020-04-01 04:35:24 +0200 | |
---|---|---|
committer | 2020-04-02 03:44:14 +0200 | |
commit | f5e7e0625eec96f96d9dcbe514198a82bd5a49ec (patch) | |
tree | ee358df2558c8122498061eac3e9bf509df7e204 /src/lib.rs | |
parent | 4c44517556976454c0598c876addb10b88515cda (diff) | |
download | iced-f5e7e0625eec96f96d9dcbe514198a82bd5a49ec.tar.gz iced-f5e7e0625eec96f96d9dcbe514198a82bd5a49ec.tar.bz2 iced-f5e7e0625eec96f96d9dcbe514198a82bd5a49ec.zip |
Improve docs for `Sandbox` and `Application`
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -166,13 +166,14 @@ //! 1. Draw the resulting user interface. //! //! # Usage -//! Take a look at the [`Application`] trait, which streamlines all the process -//! described above for you! +//! The [`Application`] and [`Sandbox`] traits should get you started quickly, +//! streamlining all the process described above! //! //! [Elm]: https://elm-lang.org/ //! [The Elm Architecture]: https://guide.elm-lang.org/architecture/ //! [examples]: https://github.com/hecrj/iced/tree/master/examples //! [`Application`]: trait.Application.html +//! [`Sandbox`]: trait.Sandbox.html #![deny(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unused_results)] @@ -198,12 +199,12 @@ pub use sandbox::Sandbox; pub use settings::Settings; #[cfg(not(target_arch = "wasm32"))] -use iced_winit as common; +use iced_winit as runtime; #[cfg(target_arch = "wasm32")] -use iced_web as common; +use iced_web as runtime; -pub use common::{ +pub use runtime::{ futures, Align, Background, Color, Command, Font, HorizontalAlignment, Length, Point, Size, Subscription, Vector, VerticalAlignment, }; |