pub enum JpegDownsample {
BothDirections,
Horizontal,
No,
}Expand description
JPEG chroma subsampling mode. JPEG chroma subsampling.
Variants§
BothDirections
Subsample horizontally and vertically (4:2:0).
Horizontal
Subsample horizontally only (4:2:2).
No
No subsampling (4:4:4).
Trait Implementations§
Source§impl Clone for JpegDownsample
impl Clone for JpegDownsample
Source§fn clone(&self) -> JpegDownsample
fn clone(&self) -> JpegDownsample
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 JpegDownsample
Source§impl Debug for JpegDownsample
impl Debug for JpegDownsample
impl Eq for JpegDownsample
Source§impl PartialEq for JpegDownsample
impl PartialEq for JpegDownsample
Source§fn eq(&self, other: &JpegDownsample) -> bool
fn eq(&self, other: &JpegDownsample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JpegDownsample
Auto Trait Implementations§
impl Freeze for JpegDownsample
impl RefUnwindSafe for JpegDownsample
impl Send for JpegDownsample
impl Sync for JpegDownsample
impl Unpin for JpegDownsample
impl UnsafeUnpin for JpegDownsample
impl UnwindSafe for JpegDownsample
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