pub enum ImageLoadState {
Loading,
Ready(ImageBitmap),
Failed(ImageLoadError),
}Expand description
Where a request is.
Variants§
Loading
The image is still being read and decoded.
Ready(ImageBitmap)
The image has loaded and is ready to draw.
Failed(ImageLoadError)
Loading failed for the stated reason.
Trait Implementations§
Source§impl Clone for ImageLoadState
impl Clone for ImageLoadState
Source§impl Debug for ImageLoadState
impl Debug for ImageLoadState
Source§impl PartialEq for ImageLoadState
impl PartialEq for ImageLoadState
impl StructuralPartialEq for ImageLoadState
Auto Trait Implementations§
impl Freeze for ImageLoadState
impl RefUnwindSafe for ImageLoadState
impl Send for ImageLoadState
impl Sync for ImageLoadState
impl Unpin for ImageLoadState
impl UnsafeUnpin for ImageLoadState
impl UnwindSafe for ImageLoadState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more