Enum image::ImageOutputFormat
source · [−]Expand description
An enumeration of supported image formats for encoding.
Variants
Jpeg(u8)
An Image in JPEG Format with specified quality
Unsupported(String)
A value for signalling an error: An unsupported format was requested
Trait Implementations
sourceimpl Clone for ImageOutputFormat
impl Clone for ImageOutputFormat
sourcefn clone(&self) -> ImageOutputFormat
fn clone(&self) -> ImageOutputFormat
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ImageOutputFormat
impl Debug for ImageOutputFormat
sourceimpl From<ImageFormat> for ImageOutputFormat
impl From<ImageFormat> for ImageOutputFormat
sourcefn from(fmt: ImageFormat) -> Self
fn from(fmt: ImageFormat) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ImageOutputFormat> for ImageOutputFormat
impl PartialEq<ImageOutputFormat> for ImageOutputFormat
sourcefn eq(&self, other: &ImageOutputFormat) -> bool
fn eq(&self, other: &ImageOutputFormat) -> bool
impl Eq for ImageOutputFormat
impl StructuralEq for ImageOutputFormat
impl StructuralPartialEq for ImageOutputFormat
Auto Trait Implementations
impl RefUnwindSafe for ImageOutputFormat
impl Send for ImageOutputFormat
impl Sync for ImageOutputFormat
impl Unpin for ImageOutputFormat
impl UnwindSafe for ImageOutputFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more