Enum freya_components::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§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer