Enum jpeg_encoder::JpegColorType
source · pub enum JpegColorType {
Luma,
Ycbcr,
Cmyk,
Ycck,
}
Expand description
Variants§
Luma
One component grayscale colorspace
Ycbcr
Three component YCbCr colorspace
Cmyk
4 Component CMYK colorspace
Ycck
4 Component YCbCrK colorspace
Trait Implementations§
source§impl Clone for JpegColorType
impl Clone for JpegColorType
source§fn clone(&self) -> JpegColorType
fn clone(&self) -> JpegColorType
Returns a copy 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 JpegColorType
impl Debug for JpegColorType
source§impl PartialEq for JpegColorType
impl PartialEq for JpegColorType
source§fn eq(&self, other: &JpegColorType) -> bool
fn eq(&self, other: &JpegColorType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for JpegColorType
impl Eq for JpegColorType
impl StructuralEq for JpegColorType
impl StructuralPartialEq for JpegColorType
Auto Trait Implementations§
impl RefUnwindSafe for JpegColorType
impl Send for JpegColorType
impl Sync for JpegColorType
impl Unpin for JpegColorType
impl UnwindSafe for JpegColorType
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