2019-11-18 07:16:19 +01:00
//! The core library of [Iced].
//!
//! 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`.
//!
2020-11-26 07:22:03 +01:00
//! 
//!
2019-11-18 07:16:19 +01:00
//! [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 ;
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 ;
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 ;
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 ;
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 ;