pub enum ImageFormat {
Jpeg,
Png,
Jpeg2000,
Jbig2,
Raw,
Unknown,
}Expand description
Supported image formats.
Variants§
Jpeg
JPEG format
Png
PNG format
Jpeg2000
JPEG 2000 format (JPX)
Jbig2
JBIG2 format (typically for scanned documents)
Raw
Raw uncompressed image data
Unknown
Unknown or unsupported format
Implementations§
Trait Implementations§
Source§impl Clone for ImageFormat
impl Clone for ImageFormat
impl Copy for ImageFormat
Source§impl Debug for ImageFormat
impl Debug for ImageFormat
impl Eq for ImageFormat
Source§impl Hash for ImageFormat
impl Hash for ImageFormat
Source§impl PartialEq for ImageFormat
impl PartialEq for ImageFormat
impl StructuralPartialEq for ImageFormat
Auto Trait Implementations§
impl Freeze for ImageFormat
impl RefUnwindSafe for ImageFormat
impl Send for ImageFormat
impl Sync for ImageFormat
impl Unpin for ImageFormat
impl UnsafeUnpin for ImageFormat
impl UnwindSafe for ImageFormat
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