summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/svg.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-31 16:24:31 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-31 16:24:31 +0700
commit9a3c81f336b8e29c64471026860f3c9d8b56348c (patch)
treecc95c6212655d908b7d2c2e564b4bcfd28b67167 /graphics/src/widget/svg.rs
parentc4186a71b746b603984e5fe1926a8cef6e8dcfcb (diff)
downloadiced-9a3c81f336b8e29c64471026860f3c9d8b56348c.tar.gz
iced-9a3c81f336b8e29c64471026860f3c9d8b56348c.tar.bz2
iced-9a3c81f336b8e29c64471026860f3c9d8b56348c.zip
Introduce first-class `svg` module in `iced_native`
Diffstat (limited to '')
-rw-r--r--graphics/src/widget/svg.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/src/widget/svg.rs b/graphics/src/widget/svg.rs
index 64a2b461..5817a552 100644
--- a/graphics/src/widget/svg.rs
+++ b/graphics/src/widget/svg.rs
@@ -1,9 +1,10 @@
//! Display vector graphics in your application.
use crate::backend::{self, Backend};
use crate::{Primitive, Rectangle, Renderer};
-use iced_native::widget::svg;
+use iced_native::svg;
-pub use iced_native::widget::svg::{Handle, Svg};
+pub use iced_native::widget::svg::Svg;
+pub use svg::Handle;
impl<B> svg::Renderer for Renderer<B>
where