Add explicit error handling to image loading
This commit is contained in:
parent
7c11ccb046
commit
867fe819c0
17 changed files with 357 additions and 118 deletions
|
|
@ -628,7 +628,7 @@ pub mod widget {
|
|||
#[cfg(feature = "image")]
|
||||
pub mod image {
|
||||
//! Images display raster graphics in different formats (PNG, JPG, etc.).
|
||||
pub use iced_runtime::image::{Allocation, allocate};
|
||||
pub use iced_runtime::image::{Allocation, Error, allocate};
|
||||
pub use iced_widget::image::*;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue