summaryrefslogtreecommitdiffstats
path: root/glow/src/lib.rs
blob: a32c787e95ef59ad9913a6e99171c0f83d74f1d3 (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
//#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![deny(unused_results)]
//#![forbid(unsafe_code)]
#![forbid(rust_2018_idioms)]

mod backend;
mod program;
mod quad;
mod text;
mod triangle;

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

pub use settings::Settings;

pub(crate) use backend::Backend;
pub(crate) use iced_graphics::Transformation;

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

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

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

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