Write missing documentation in iced_graphics
This commit is contained in:
parent
dd04c0b070
commit
8622e998f2
8 changed files with 34 additions and 12 deletions
|
|
@ -5,6 +5,7 @@ use bitflags::bitflags;
|
|||
|
||||
pub use ::image as image_rs;
|
||||
|
||||
/// Tries to load an image by its [`Handle`].
|
||||
pub fn load(handle: &Handle) -> image_rs::ImageResult<image_rs::DynamicImage> {
|
||||
match handle.data() {
|
||||
Data::Path(path) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue