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 Debug for ImageFormatHint
[src][+]
impl Display for ImageFormatHint
[src][+]
impl From<&'_ Path> for ImageFormatHint
[src][+]
impl From<ImageFormat> for ImageFormatHint
[src][+]
impl From<ImageFormatHint> for UnsupportedError
[src][+]
impl Hash for ImageFormatHint
[src][+]
impl PartialEq<ImageFormatHint> for ImageFormatHint
[src][+]
impl StructuralPartialEq for ImageFormatHint
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Pointable for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,