Enum image::error::ImageFormatHint [−][src]
pub enum ImageFormatHint {
Exact(ImageFormat),
Name(String),
PathExtension(PathBuf),
Unknown,
// some variants omitted
}Expand description
A best effort representation for image formats.
Variants
Exact(ImageFormat)
Tuple Fields
0: ImageFormatThe format is known exactly.
Name(String)
Tuple Fields
0: StringThe format can be identified by a name.
PathExtension(PathBuf)
Tuple Fields
0: PathBufA common path extension for the format is known.
Unknown
The format is not known or could not be determined.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ImageFormatHint
impl Send for ImageFormatHint
impl Sync for ImageFormatHint
impl Unpin for ImageFormatHint
impl UnwindSafe for ImageFormatHint
Blanket Implementations
Mutably borrows from an owned value. Read more
