pub enum TrichromaticEncodingSystem {
RGB,
YUV(YUVSystem),
XYZ,
}
Expand description
Trichromatic color encoding system.
Variants§
RGB
Image represented by three color channels: Red, Green, and Blue.
YUV(YUVSystem)
Image represented by a luminance (luma) channel and two chroma channels.
XYZ
In the CIE 1931 model, Y is the luminance, Z is quasi-equal to blue (of CIE RGB), and X is a mix of the three CIE RGB curves chosen to be nonnegative. Setting Y as luminance has the useful result that for any given Y value, the XZ plane will contain all possible chromaticities at that luminance.
Trait Implementations§
Source§impl Clone for TrichromaticEncodingSystem
impl Clone for TrichromaticEncodingSystem
Source§fn clone(&self) -> TrichromaticEncodingSystem
fn clone(&self) -> TrichromaticEncodingSystem
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 TrichromaticEncodingSystem
impl Debug for TrichromaticEncodingSystem
Source§impl Display for TrichromaticEncodingSystem
impl Display for TrichromaticEncodingSystem
Source§impl Hash for TrichromaticEncodingSystem
impl Hash for TrichromaticEncodingSystem
impl Copy for TrichromaticEncodingSystem
impl Eq for TrichromaticEncodingSystem
impl StructuralPartialEq for TrichromaticEncodingSystem
Auto Trait Implementations§
impl Freeze for TrichromaticEncodingSystem
impl RefUnwindSafe for TrichromaticEncodingSystem
impl Send for TrichromaticEncodingSystem
impl Sync for TrichromaticEncodingSystem
impl Unpin for TrichromaticEncodingSystem
impl UnwindSafe for TrichromaticEncodingSystem
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