pub enum JpegAlphaOption {
Ignore,
BlendOnBlack,
}Expand description
JPEG alpha handling behavior. How to encode alpha-containing images as JPEG (which has no alpha).
Variants§
Trait Implementations§
Source§impl Clone for JpegAlphaOption
impl Clone for JpegAlphaOption
Source§fn clone(&self) -> JpegAlphaOption
fn clone(&self) -> JpegAlphaOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for JpegAlphaOption
Source§impl Debug for JpegAlphaOption
impl Debug for JpegAlphaOption
impl Eq for JpegAlphaOption
Source§impl PartialEq for JpegAlphaOption
impl PartialEq for JpegAlphaOption
Source§fn eq(&self, other: &JpegAlphaOption) -> bool
fn eq(&self, other: &JpegAlphaOption) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JpegAlphaOption
Auto Trait Implementations§
impl Freeze for JpegAlphaOption
impl RefUnwindSafe for JpegAlphaOption
impl Send for JpegAlphaOption
impl Sync for JpegAlphaOption
impl Unpin for JpegAlphaOption
impl UnsafeUnpin for JpegAlphaOption
impl UnwindSafe for JpegAlphaOption
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