pub struct DcmChannel {
pub a3: u16,
pub a2: u16,
}Expand description
DCM polynomial coefficients for a single primary colour, decoded from a 0xF9 descriptor.
The a3 and a2 values are the second- and third-order coefficients of the colour
management polynomial defined in the VESA DCM Standard v1 (January 2003).
Both values are unsigned 16-bit little-endian quantities.
Fields§
§a3: u16Third-order polynomial coefficient (a3).
a2: u16Second-order polynomial coefficient (a2).
Trait Implementations§
Source§impl Clone for DcmChannel
impl Clone for DcmChannel
Source§fn clone(&self) -> DcmChannel
fn clone(&self) -> DcmChannel
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 DcmChannel
Source§impl Debug for DcmChannel
impl Debug for DcmChannel
impl Eq for DcmChannel
Source§impl PartialEq for DcmChannel
impl PartialEq for DcmChannel
impl StructuralPartialEq for DcmChannel
Auto Trait Implementations§
impl Freeze for DcmChannel
impl RefUnwindSafe for DcmChannel
impl Send for DcmChannel
impl Sync for DcmChannel
impl Unpin for DcmChannel
impl UnsafeUnpin for DcmChannel
impl UnwindSafe for DcmChannel
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