summaryrefslogtreecommitdiffstats
path: root/glow/src/lib.rs
blob: 27c39b996eb2f90dcc0103e54f76f64bbd40b907 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![deny(unused_results)]
//#![forbid(unsafe_code)]
#![forbid(rust_2018_idioms)]

mod backend;
mod quad;
mod text;
mod transformation;
mod triangle;
mod viewport;

pub mod settings;
pub mod widget;
pub mod window;

pub use settings::Settings;
pub use viewport::Viewport;

pub(crate) use backend::Backend;
pub(crate) use quad::Quad;
pub(crate) use transformation::Transformation;

pub type Renderer = iced_graphics::Renderer<Backend>;

#[doc(no_inline)]
pub use widget::*;

pub use iced_native::{
    Background, Color, Command, HorizontalAlignment, Length, Vector,
    VerticalAlignment,
};

pub type Element<'a, Message> = iced_native::Element<'a, Message, Renderer>;