struct EncoderFlags {
jpeg_encode_progressive: bool,
jpeg_optimize_huffman: bool,
image_strip_metadata: bool,
}
Expand description
Encoder options that are flags
Fields§
§jpeg_encode_progressive: bool
Whether JPEG images should be encoded as progressive images
jpeg_optimize_huffman: bool
Whether JPEG images should use optimized huffman tables
image_strip_metadata: bool
Whether to not preserve metadata across image transformations
Trait Implementations§
Source§impl Clone for EncoderFlags
impl Clone for EncoderFlags
Source§fn clone(&self) -> EncoderFlags
fn clone(&self) -> EncoderFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EncoderFlags
impl Debug for EncoderFlags
Source§impl Default for EncoderFlags
impl Default for EncoderFlags
Source§fn default() -> EncoderFlags
fn default() -> EncoderFlags
Returns the “default value” for a type. Read more
impl Copy for EncoderFlags
Auto Trait Implementations§
impl Freeze for EncoderFlags
impl RefUnwindSafe for EncoderFlags
impl Send for EncoderFlags
impl Sync for EncoderFlags
impl Unpin for EncoderFlags
impl UnwindSafe for EncoderFlags
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