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`.
//!
2021-12-23 09:34:37 +02:00
//! 
2020-11-26 07:22:03 +01:00
//!
2021-12-23 09:34:37 +02:00
//! [Iced]: https://github.com/iced-rs/iced
2022-12-07 04:38:00 +01:00
//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.6/native
2022-05-02 20:25:47 +02:00
//! [`iced_web`]: https://github.com/iced-rs/iced_web
2022-05-02 20:33:10 +02:00
#![ doc(
html_logo_url = " https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg "
) ]
2022-07-09 18:03:59 +02:00
#![ deny(
missing_debug_implementations ,
missing_docs ,
unused_results ,
clippy ::extra_unused_lifetimes ,
clippy ::from_over_into ,
clippy ::needless_borrow ,
clippy ::new_without_default ,
clippy ::useless_conversion
) ]
#![ forbid(unsafe_code, rust_2018_idioms) ]
#![ allow(clippy::inherent_to_string, clippy::type_complexity) ]
2021-09-20 15:09:55 +07:00
pub mod alignment ;
2020-03-17 07:28:28 +01:00
pub mod keyboard ;
2020-04-28 03:11:01 +02:00
pub mod mouse ;
2022-01-28 17:20:40 +07:00
pub mod time ;
2019-09-20 19:15:31 +02:00
2019-10-08 03:13:41 +02:00
mod background ;
2019-09-20 19:15:31 +02:00
mod color ;
2022-02-16 17:28:04 +07:00
mod content_fit ;
2019-11-13 07:22:21 +01:00
mod font ;
2019-09-20 19:15:31 +02:00
mod length ;
2020-11-23 17:19:21 +00:00
mod padding ;
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 ;
2021-09-20 15:09:55 +07:00
pub use alignment ::Alignment ;
2019-10-08 03:13:41 +02:00
pub use background ::Background ;
2019-09-20 19:15:31 +02:00
pub use color ::Color ;
2022-02-16 17:28:04 +07:00
pub use content_fit ::ContentFit ;
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-11-23 17:19:21 +00:00
pub use padding ::Padding ;
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 ;