iced-yoda/graphics/src/lib.rs

47 lines
1.2 KiB
Rust
Raw Normal View History

//! A bunch of backend-agnostic types that can be leveraged to build a renderer
//! for [`iced`].
//!
2020-11-26 07:22:03 +01:00
//! ![The native path of the Iced ecosystem](https://github.com/hecrj/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/native.png?raw=true)
//!
//! [`iced`]: https://github.com/hecrj/iced
2021-12-08 08:04:46 +01:00
#![doc(
2021-12-09 15:10:38 +07:00
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
2021-12-08 08:04:46 +01:00
)]
#![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;
mod error;
2020-05-19 17:15:44 +02:00
mod primitive;
mod transformation;
2020-05-19 19:57:42 +02:00
mod viewport;
2020-05-19 17:15:44 +02:00
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;
pub mod overlay;
pub mod renderer;
2020-05-19 17:15:44 +02:00
pub mod triangle;
pub mod widget;
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 error::Error;
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;
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::alignment;
2020-05-19 22:55:12 +02:00
pub use iced_native::{
Alignment, Background, Color, Font, Point, Rectangle, Size, Vector,
2020-05-19 22:55:12 +02:00
};