From 9a3c81f336b8e29c64471026860f3c9d8b56348c Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 31 Oct 2021 16:24:31 +0700 Subject: Introduce first-class `svg` module in `iced_native` --- graphics/src/widget/svg.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'graphics/src/widget/svg.rs') 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 svg::Renderer for Renderer where -- cgit