iced-yoda/graphics/src/lib.rs

42 lines
946 B
Rust
Raw Normal View History

//! 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 primitive;
mod renderer;
mod transformation;
2020-05-19 19:57:42 +02:00
mod viewport;
2020-05-19 17:15:44 +02:00
pub mod backend;
pub mod defaults;
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;
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 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;
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, Color, Font, HorizontalAlignment, Point, Rectangle, Size,
Vector, VerticalAlignment,
2020-05-19 22:55:12 +02:00
};