summaryrefslogtreecommitdiffstats
path: root/wgpu/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-03-01 21:34:26 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-03-01 21:34:26 +0100
commit5fd5d1cdf8e5354788dc40729c4565ef377d3bba (patch)
tree0921efc7dc13a3050e03482147a791f85515f1f2 /wgpu/src/lib.rs
parent3f6e28fa9b1b8d911f765c9efb5249a9e0c942d5 (diff)
downloadiced-5fd5d1cdf8e5354788dc40729c4565ef377d3bba.tar.gz
iced-5fd5d1cdf8e5354788dc40729c4565ef377d3bba.tar.bz2
iced-5fd5d1cdf8e5354788dc40729c4565ef377d3bba.zip
Implement `Canvas` support for `iced_tiny_skia`
Diffstat (limited to 'wgpu/src/lib.rs')
-rw-r--r--wgpu/src/lib.rs15
1 files changed, 12 insertions, 3 deletions
diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs
index 9da40572..8be12602 100644
--- a/wgpu/src/lib.rs
+++ b/wgpu/src/lib.rs
@@ -25,7 +25,7 @@
)]
#![deny(
missing_debug_implementations,
- missing_docs,
+ //missing_docs,
unsafe_code,
unused_results,
clippy::extra_unused_lifetimes,
@@ -38,7 +38,9 @@
#![allow(clippy::inherent_to_string, clippy::type_complexity)]
#![cfg_attr(docsrs, feature(doc_cfg))]
+pub mod layer;
pub mod settings;
+pub mod widget;
pub mod window;
mod backend;
@@ -47,16 +49,23 @@ mod quad;
mod text;
mod triangle;
+pub use iced_graphics::primitive;
pub use iced_graphics::{
- Antialiasing, Color, Error, Font, Primitive, Viewport,
+ Antialiasing, Color, Error, Font, Gradient, Point, Rectangle, Size, Vector,
+ Viewport,
};
+pub use iced_native::alignment;
+
pub use iced_native::Theme;
pub use wgpu;
pub use backend::Backend;
+pub use layer::Layer;
+pub use primitive::Primitive;
pub use settings::Settings;
-use crate::buffer::Buffer;
+use buffer::Buffer;
+
use iced_graphics::Transformation;
#[cfg(any(feature = "image", feature = "svg"))]