Enum freya::prelude::ImageStatus
source · pub enum ImageStatus {
Loading,
Errored,
Loaded,
}
Expand description
Image status.
Variants§
Loading
Image is being fetched.
Errored
Image fetching threw an error.
Loaded
Image has been fetched.
Trait Implementations§
source§impl PartialEq<ImageStatus> for ImageStatus
impl PartialEq<ImageStatus> for ImageStatus
source§fn eq(&self, other: &ImageStatus) -> bool
fn eq(&self, other: &ImageStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImageStatus
Auto Trait Implementations§
impl RefUnwindSafe for ImageStatus
impl Send for ImageStatus
impl Sync for ImageStatus
impl Unpin 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