pub enum ImageType {
Show 21 variants
Aseprite,
Avif,
Bmp,
Dds,
Exr,
Farbfeld,
Gif,
Hdr,
Heif,
Ico,
Jpeg,
Jxl,
Ktx2,
Png,
Pnm,
Psd,
Qoi,
Tga,
Tiff,
Vtf,
Webp,
}
Expand description
Types of image formats that this crate can identify.
Variants§
Aseprite
Animated sprite image format https://github.com/aseprite/aseprite
Avif
AV1 Image File Format
Bmp
Standard Bitmap
Dds
DirectDraw Surface
Exr
OpenEXR
Farbfeld
Farbfeld https://tools.suckless.org/farbfeld/
Gif
Standard GIF
Hdr
Radiance HDR
Heif
High Efficiency Image File Format
Ico
Icon file
Jpeg
Standard JPEG
Jxl
JPEG XL
Ktx2
Khronos Texture Container
Png
Standard PNG
Pnm
Portable Any Map
Psd
Photoshop Document
Qoi
Quite OK Image Format https://qoiformat.org/
Tga
Truevision Graphics Adapter
Tiff
Standard TIFF
Vtf
Valve Texture Format
Webp
Standard Webp
Trait Implementations§
source§impl Ord for ImageType
impl Ord for ImageType
source§impl PartialOrd for ImageType
impl PartialOrd for ImageType
impl Copy for ImageType
impl Eq for ImageType
impl StructuralPartialEq for ImageType
Auto Trait Implementations§
impl Freeze for ImageType
impl RefUnwindSafe for ImageType
impl Send for ImageType
impl Sync for ImageType
impl Unpin for ImageType
impl UnwindSafe for ImageType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)