summaryrefslogtreecommitdiffstats
path: root/src
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 /src
parentc4186a71b746b603984e5fe1926a8cef6e8dcfcb (diff)
downloadiced-9a3c81f336b8e29c64471026860f3c9d8b56348c.tar.gz
iced-9a3c81f336b8e29c64471026860f3c9d8b56348c.tar.bz2
iced-9a3c81f336b8e29c64471026860f3c9d8b56348c.zip
Introduce first-class `svg` module in `iced_native`
Diffstat (limited to 'src')
-rw-r--r--src/widget.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widget.rs b/src/widget.rs
index f2bd18cf..0f0b0325 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -46,7 +46,8 @@ mod platform {
#[cfg_attr(docsrs, doc(cfg(feature = "svg")))]
pub mod svg {
//! Display vector graphics in your user interface.
- pub use crate::runtime::widget::svg::{Handle, Svg};
+ pub use crate::runtime::svg::Handle;
+ pub use crate::runtime::widget::svg::Svg;
}
#[doc(no_inline)]