2020-05-19 14:23:28 +02:00
|
|
|
//#![deny(missing_docs)]
|
|
|
|
|
#![deny(missing_debug_implementations)]
|
|
|
|
|
#![deny(unused_results)]
|
|
|
|
|
//#![forbid(unsafe_code)]
|
|
|
|
|
#![forbid(rust_2018_idioms)]
|
|
|
|
|
|
2020-05-19 17:15:44 +02:00
|
|
|
mod backend;
|
2020-05-21 19:07:33 +02:00
|
|
|
mod program;
|
2020-05-19 14:23:28 +02:00
|
|
|
mod quad;
|
|
|
|
|
mod text;
|
|
|
|
|
mod triangle;
|
|
|
|
|
|
|
|
|
|
pub mod settings;
|
|
|
|
|
pub mod widget;
|
|
|
|
|
pub mod window;
|
|
|
|
|
|
|
|
|
|
pub use settings::Settings;
|
|
|
|
|
|
2020-05-19 17:15:44 +02:00
|
|
|
pub(crate) use backend::Backend;
|
2020-05-19 19:55:05 +02:00
|
|
|
pub(crate) use iced_graphics::Transformation;
|
2020-05-19 14:23:28 +02:00
|
|
|
|
2020-05-19 17:15:44 +02:00
|
|
|
pub type Renderer = iced_graphics::Renderer<Backend>;
|
|
|
|
|
|
2020-05-19 14:23:28 +02:00
|
|
|
#[doc(no_inline)]
|
|
|
|
|
pub use widget::*;
|
|
|
|
|
|
2020-05-19 19:57:42 +02:00
|
|
|
pub type Element<'a, Message> = iced_native::Element<'a, Message, Renderer>;
|
|
|
|
|
|
|
|
|
|
pub use iced_graphics::Viewport;
|
2020-05-19 14:23:28 +02:00
|
|
|
pub use iced_native::{
|
|
|
|
|
Background, Color, Command, HorizontalAlignment, Length, Vector,
|
|
|
|
|
VerticalAlignment,
|
|
|
|
|
};
|