2020-05-28 01:46:17 +02:00
//! A [`glow`] renderer for [`iced_native`].
//!
2022-05-02 20:25:47 +02:00
//! 
2020-11-26 07:22:03 +01:00
//!
2020-05-28 01:46:17 +02:00
//! [`glow`]: https://github.com/grovesNL/glow
2022-11-10 18:14:40 +01:00
//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.5/native
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
) ]
2022-07-09 18:03:59 +02:00
#![ deny(
missing_debug_implementations ,
missing_docs ,
unused_results ,
clippy ::extra_unused_lifetimes ,
clippy ::from_over_into ,
clippy ::needless_borrow ,
clippy ::new_without_default ,
clippy ::useless_conversion
) ]
2020-05-19 14:23:28 +02:00
#![ forbid(rust_2018_idioms) ]
2022-07-09 18:03:59 +02:00
#![ allow(clippy::inherent_to_string, clippy::type_complexity) ]
2020-05-28 04:03:51 +02:00
#![ cfg_attr(docsrs, feature(doc_cfg)) ]
2020-05-19 14:23:28 +02:00
2021-11-01 18:37:53 -03:00
pub use glow ;
2020-05-19 17:15:44 +02:00
mod backend ;
2022-11-05 03:26:19 +01:00
#[ cfg(any(feature = " image " , feature = " svg " )) ]
2022-10-24 17:06:02 -07:00
mod image ;
2021-11-05 17:08:35 +07:00
mod program ;
2020-05-19 14:23:28 +02:00
mod quad ;
mod text ;
mod triangle ;
pub mod settings ;
pub mod window ;
2020-05-30 03:04:16 +02:00
pub use backend ::Backend ;
2020-05-19 14:23:28 +02:00
pub use settings ::Settings ;
2020-05-19 19:55:05 +02:00
pub ( crate ) use iced_graphics ::Transformation ;
2020-05-19 14:23:28 +02:00
2020-09-08 00:35:17 +02:00
pub use iced_graphics ::{ Error , Viewport } ;
2022-05-14 01:47:55 +02:00
pub use iced_native ::Theme ;
2021-09-20 15:09:55 +07:00
pub use iced_native ::alignment ;
pub use iced_native ::{ Alignment , Background , Color , Command , Length , Vector } ;
2020-05-28 01:46:17 +02:00
/// A [`glow`] graphics renderer for [`iced`].
///
/// [`glow`]: https://github.com/grovesNL/glow
2022-05-02 20:25:47 +02:00
/// [`iced`]: https://github.com/iced-rs/iced
2022-05-14 01:47:55 +02:00
pub type Renderer < Theme = iced_native ::Theme > =
iced_graphics ::Renderer < Backend , Theme > ;