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

@ -38,8 +38,9 @@ mod platform {
#[cfg_attr(docsrs, doc(cfg(feature = "image")))]
pub mod image {
//! Display images in your user interface.
pub use crate::runtime::image::Handle;
pub use crate::runtime::widget::image::viewer;
pub use crate::runtime::widget::image::{Handle, Image, Viewer};
pub use crate::runtime::widget::image::{Image, Viewer};
}
#[cfg_attr(docsrs, doc(cfg(feature = "svg")))]