pub enum ImageStatus {
Empty,
Loading,
Ready,
Failed,
}Expand description
Where an Image’s picture is, as Qt’s Image.status,
written to the signal Image::status takes.
Variants§
Empty
The source is an empty path or icon name, or none, so nothing is shown. The default.
Loading
The source is new and its picture hasn’t loaded yet: it is read in the loop turn that set it, or decoded off the loop’s thread.
Ready
The source’s picture loaded, whether it was drawn or not.
Failed
The source can’t be read or decoded, or is past the size limits.
Trait Implementations§
Source§impl Clone for ImageStatus
impl Clone for ImageStatus
impl Copy for ImageStatus
Source§impl Debug for ImageStatus
impl Debug for ImageStatus
Source§impl Default for ImageStatus
impl Default for ImageStatus
impl Eq for ImageStatus
Source§impl Hash for ImageStatus
impl Hash for ImageStatus
Source§impl PartialEq for ImageStatus
impl PartialEq for ImageStatus
impl StructuralPartialEq for ImageStatus
Auto Trait Implementations§
impl Forget for ImageStatus
impl Freeze for ImageStatus
impl Move for ImageStatus
impl RefUnwindSafe for ImageStatus
impl Send for ImageStatus
impl Sync for ImageStatus
impl Unpin for ImageStatus
impl UnsafeUnpin for ImageStatus
impl UnwindSafe for ImageStatus
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