summaryrefslogtreecommitdiffstats
path: root/graphics/src/layer.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-03-09 14:10:15 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-03-09 14:10:15 +0700
commit12c1a3f829c801022d45f1a294d8fc7fa10606e5 (patch)
tree05cc7a7981f13063831e7397129ea30a14a6d97a /graphics/src/layer.rs
parent7d9ab71790ba0395681490f3af4d3899bb09ab09 (diff)
downloadiced-12c1a3f829c801022d45f1a294d8fc7fa10606e5.tar.gz
iced-12c1a3f829c801022d45f1a294d8fc7fa10606e5.tar.bz2
iced-12c1a3f829c801022d45f1a294d8fc7fa10606e5.zip
Remove redundant `widget` modules in subcrates
Instead, we can define the type aliases just once in the root crate!
Diffstat (limited to '')
-rw-r--r--graphics/src/layer.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/src/layer.rs b/graphics/src/layer.rs
index 7a32c850..93506258 100644
--- a/graphics/src/layer.rs
+++ b/graphics/src/layer.rs
@@ -1,12 +1,13 @@
//! Organize rendering primitives into a flattened list of layers.
use crate::alignment;
-use crate::image;
-use crate::svg;
use crate::triangle;
use crate::{
Background, Font, Point, Primitive, Rectangle, Size, Vector, Viewport,
};
+use iced_native::image;
+use iced_native::svg;
+
/// A group of primitives that should be clipped together.
#[derive(Debug, Clone)]
pub struct Layer<'a> {