2020-05-28 01:37:59 +02:00
|
|
|
//! A bunch of backend-agnostic types that can be leveraged to build a renderer
|
|
|
|
|
//! for [`iced`].
|
|
|
|
|
//!
|
|
|
|
|
//! [`iced`]: https://github.com/hecrj/iced
|
|
|
|
|
#![deny(missing_docs)]
|
|
|
|
|
#![deny(missing_debug_implementations)]
|
|
|
|
|
#![deny(unused_results)]
|
|
|
|
|
#![deny(unsafe_code)]
|
|
|
|
|
#![forbid(rust_2018_idioms)]
|
|
|
|
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
2020-05-19 20:34:17 +02:00
|
|
|
mod antialiasing;
|
2020-05-19 17:15:44 +02:00
|
|
|
mod defaults;
|
|
|
|
|
mod primitive;
|
|
|
|
|
mod renderer;
|
2020-05-19 19:55:05 +02:00
|
|
|
mod transformation;
|
2020-05-19 19:57:42 +02:00
|
|
|
mod viewport;
|
2020-05-19 17:15:44 +02:00
|
|
|
mod widget;
|
|
|
|
|
|
|
|
|
|
pub mod backend;
|
2020-05-19 20:20:51 +02:00
|
|
|
pub mod font;
|
2020-05-19 22:55:12 +02:00
|
|
|
pub mod layer;
|
2020-05-19 17:15:44 +02:00
|
|
|
pub mod triangle;
|
2020-05-20 20:28:35 +02:00
|
|
|
pub mod window;
|
2020-05-19 17:15:44 +02:00
|
|
|
|
|
|
|
|
#[doc(no_inline)]
|
|
|
|
|
pub use widget::*;
|
|
|
|
|
|
2020-05-19 20:34:17 +02:00
|
|
|
pub use antialiasing::Antialiasing;
|
2020-05-19 17:15:44 +02:00
|
|
|
pub use backend::Backend;
|
|
|
|
|
pub use defaults::Defaults;
|
2020-05-19 22:55:12 +02:00
|
|
|
pub use layer::Layer;
|
2020-05-19 17:15:44 +02:00
|
|
|
pub use primitive::Primitive;
|
|
|
|
|
pub use renderer::Renderer;
|
2020-05-19 19:55:05 +02:00
|
|
|
pub use transformation::Transformation;
|
2020-05-19 19:57:42 +02:00
|
|
|
pub use viewport::Viewport;
|
2020-05-19 22:55:12 +02:00
|
|
|
|
|
|
|
|
pub use iced_native::{
|
|
|
|
|
Background, Font, HorizontalAlignment, Point, Rectangle, Size, Vector,
|
|
|
|
|
VerticalAlignment,
|
|
|
|
|
};
|