#[repr(u32)]pub enum VesaDisplayDeviceSubpixelLayout {
Show 13 variants
Undefined = 0,
RGB_VERT = 1,
RGB_HORIZ = 2,
EDID_CHROM_VERT = 3,
EDID_CHROM_HORIZ = 4,
QUAD_RGGB = 5,
QUAD_GBRG = 6,
DELTA_RGB = 7,
MOSAIC = 8,
QUAD_ANY = 9,
FIVE = 10,
SIX = 11,
CLAIRVOYANTE_PENTILE = 12,
}Available on crate feature
v0_3 only.Expand description
Subpixel layout, defined in VESA DDDB section 2.9.
For layouts with more than 3 subpixels, the color coordinates of the additional subpixels are defined in the additional primary chromaticities.
Variants§
Undefined = 0
RGB_VERT = 1
RGB_HORIZ = 2
EDID_CHROM_VERT = 3
EDID_CHROM_HORIZ = 4
QUAD_RGGB = 5
QUAD_GBRG = 6
DELTA_RGB = 7
MOSAIC = 8
QUAD_ANY = 9
FIVE = 10
SIX = 11
CLAIRVOYANTE_PENTILE = 12
Trait Implementations§
Source§impl Clone for VesaDisplayDeviceSubpixelLayout
impl Clone for VesaDisplayDeviceSubpixelLayout
Source§fn clone(&self) -> VesaDisplayDeviceSubpixelLayout
fn clone(&self) -> VesaDisplayDeviceSubpixelLayout
Returns a duplicate 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 From<u32> for VesaDisplayDeviceSubpixelLayout
impl From<u32> for VesaDisplayDeviceSubpixelLayout
Source§fn from(
value: di_cta_vesa_display_device_subpixel_layout,
) -> VesaDisplayDeviceSubpixelLayout
fn from( value: di_cta_vesa_display_device_subpixel_layout, ) -> VesaDisplayDeviceSubpixelLayout
Converts to this type from the input type.
Source§impl PartialEq for VesaDisplayDeviceSubpixelLayout
impl PartialEq for VesaDisplayDeviceSubpixelLayout
Source§fn eq(&self, other: &VesaDisplayDeviceSubpixelLayout) -> bool
fn eq(&self, other: &VesaDisplayDeviceSubpixelLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VesaDisplayDeviceSubpixelLayout
impl Eq for VesaDisplayDeviceSubpixelLayout
impl StructuralPartialEq for VesaDisplayDeviceSubpixelLayout
Auto Trait Implementations§
impl Freeze for VesaDisplayDeviceSubpixelLayout
impl RefUnwindSafe for VesaDisplayDeviceSubpixelLayout
impl Send for VesaDisplayDeviceSubpixelLayout
impl Sync for VesaDisplayDeviceSubpixelLayout
impl Unpin for VesaDisplayDeviceSubpixelLayout
impl UnwindSafe for VesaDisplayDeviceSubpixelLayout
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