2019-11-18 07:16:19 +01:00
|
|
|
//! The core library of [Iced].
|
|
|
|
|
//!
|
2019-11-22 21:16:40 +01:00
|
|
|
//! 
|
|
|
|
|
//!
|
2019-11-18 07:16:19 +01:00
|
|
|
//! This library holds basic types that can be reused and re-exported in
|
|
|
|
|
//! different runtime implementations. For instance, both [`iced_native`] and
|
|
|
|
|
//! [`iced_web`] are built on top of `iced_core`.
|
|
|
|
|
//!
|
|
|
|
|
//! [Iced]: https://github.com/hecrj/iced
|
|
|
|
|
//! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native
|
|
|
|
|
//! [`iced_web`]: https://github.com/hecrj/iced/tree/master/web
|
2020-01-20 09:49:17 +01:00
|
|
|
#![deny(missing_docs)]
|
2019-11-18 07:16:19 +01:00
|
|
|
#![deny(missing_debug_implementations)]
|
|
|
|
|
#![deny(unused_results)]
|
2020-01-20 10:52:06 +01:00
|
|
|
#![forbid(unsafe_code)]
|
|
|
|
|
#![forbid(rust_2018_idioms)]
|
2020-03-17 07:28:28 +01:00
|
|
|
pub mod keyboard;
|
2020-04-28 03:11:01 +02:00
|
|
|
pub mod mouse;
|
2019-09-20 19:15:31 +02:00
|
|
|
|
|
|
|
|
mod align;
|
2019-10-08 03:13:41 +02:00
|
|
|
mod background;
|
2020-04-28 03:11:01 +02:00
|
|
|
mod button_state;
|
2019-09-20 19:15:31 +02:00
|
|
|
mod color;
|
2019-11-13 07:22:21 +01:00
|
|
|
mod font;
|
2019-09-20 19:15:31 +02:00
|
|
|
mod length;
|
2020-04-29 03:21:46 +02:00
|
|
|
mod mouse_cursor;
|
2019-09-20 19:15:31 +02:00
|
|
|
mod point;
|
|
|
|
|
mod rectangle;
|
2020-02-14 05:35:42 +01:00
|
|
|
mod size;
|
2019-09-20 19:15:31 +02:00
|
|
|
mod vector;
|
|
|
|
|
|
2019-11-21 13:47:20 +01:00
|
|
|
pub use align::{Align, HorizontalAlignment, VerticalAlignment};
|
2019-10-08 03:13:41 +02:00
|
|
|
pub use background::Background;
|
2020-04-28 03:11:01 +02:00
|
|
|
pub use button_state::ButtonState;
|
2019-09-20 19:15:31 +02:00
|
|
|
pub use color::Color;
|
2019-11-13 07:22:21 +01:00
|
|
|
pub use font::Font;
|
2019-09-20 19:15:31 +02:00
|
|
|
pub use length::Length;
|
2020-04-29 03:21:46 +02:00
|
|
|
pub use mouse_cursor::MouseCursor;
|
2019-09-20 19:15:31 +02:00
|
|
|
pub use point::Point;
|
|
|
|
|
pub use rectangle::Rectangle;
|
2020-02-14 05:35:42 +01:00
|
|
|
pub use size::Size;
|
2019-09-20 19:15:31 +02:00
|
|
|
pub use vector::Vector;
|