pub enum ColorEncoding {
Bt601,
Bt709,
Bt2020,
}Expand description
Plane COLOR_ENCODING: the YCbCr-to-RGB matrix applied when scanning out a
YUV format. Ignored by the kernel for RGB.
Variants§
Trait Implementations§
Source§impl Clone for ColorEncoding
impl Clone for ColorEncoding
Source§fn clone(&self) -> ColorEncoding
fn clone(&self) -> ColorEncoding
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 ColorEncoding
Source§impl Debug for ColorEncoding
impl Debug for ColorEncoding
impl Eq for ColorEncoding
Source§impl Hash for ColorEncoding
impl Hash for ColorEncoding
Source§impl Ord for ColorEncoding
impl Ord for ColorEncoding
Source§fn cmp(&self, other: &ColorEncoding) -> Ordering
fn cmp(&self, other: &ColorEncoding) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ColorEncoding
impl PartialEq for ColorEncoding
Source§impl PartialOrd for ColorEncoding
impl PartialOrd for ColorEncoding
impl StructuralPartialEq for ColorEncoding
Auto Trait Implementations§
impl Freeze for ColorEncoding
impl RefUnwindSafe for ColorEncoding
impl Send for ColorEncoding
impl Sync for ColorEncoding
impl Unpin for ColorEncoding
impl UnsafeUnpin for ColorEncoding
impl UnwindSafe for ColorEncoding
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