Introduce first-class image module in iced_native

This commit is contained in:
Héctor Ramón Jiménez 2021-10-31 16:20:50 +07:00
parent b3a01973c6
commit c4186a71b7
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
12 changed files with 139 additions and 143 deletions

View file

@ -17,7 +17,7 @@ use std::mem;
use bytemuck::{Pod, Zeroable};
#[cfg(feature = "image_rs")]
use iced_native::widget::image;
use iced_native::image;
#[cfg(feature = "svg")]
use iced_native::widget::svg;