Enum image::error::ImageFormatHint [−][src]
pub enum ImageFormatHint { Exact(ImageFormat), Name(String), PathExtension(PathBuf), Unknown, // some variants omitted }
A best effort representation for image formats.
Variants
Exact(ImageFormat)
The format is known exactly.
Name(String)
The format can be identified by a name.
PathExtension(PathBuf)
A common path extension for the format is known.
The format is not known or could not be determined.
Trait Implementations
impl Clone for ImageFormatHint
[src]
impl Clone for ImageFormatHint
[src]fn clone(&self) -> ImageFormatHint
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Display for ImageFormatHint
[src]
impl Display for ImageFormatHint
[src]impl From<ImageFormat> for ImageFormatHint
[src]
impl From<ImageFormat> for ImageFormatHint
[src]fn from(format: ImageFormat) -> Self
[src]
impl From<ImageFormatHint> for UnsupportedError
[src]
impl From<ImageFormatHint> for UnsupportedError
[src]fn from(hint: ImageFormatHint) -> Self
[src]
impl Hash for ImageFormatHint
[src]
impl Hash for ImageFormatHint
[src]impl PartialEq<ImageFormatHint> for ImageFormatHint
[src]
impl PartialEq<ImageFormatHint> for ImageFormatHint
[src]